Commit f513f6c6 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] add the `oldalloc' and `orlov' mount options to ext3

These are the mount options which turn off and on the Orlov allocator.
ext2 supports them but Ted forgot to wire them up for ext3.
parent b292e4b7
...@@ -662,6 +662,10 @@ static int parse_options (char * options, struct ext3_sb_info *sbi, ...@@ -662,6 +662,10 @@ static int parse_options (char * options, struct ext3_sb_info *sbi,
return 0; return 0;
sbi->s_resuid = v; sbi->s_resuid = v;
} }
else if (!strcmp (this_char, "oldalloc"))
set_opt (sbi->s_mount_opt, OLDALLOC);
else if (!strcmp (this_char, "orlov"))
clear_opt (sbi->s_mount_opt, OLDALLOC);
#ifdef CONFIG_JBD_DEBUG #ifdef CONFIG_JBD_DEBUG
else if (!strcmp (this_char, "ro-after")) { else if (!strcmp (this_char, "ro-after")) {
unsigned long v; unsigned long v;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment