summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@redhat.com>2008-04-30 04:05:28 +0200
committerTheodore Ts'o <tytso@mit.edu>2008-04-30 04:05:28 +0200
commitf3f12faa7414595f502721c90c34deccc1a03c71 (patch)
tree8d1761e9d0fb28ac35f4a4f7c4878caa171baf4c
parentext4: fdatasync should skip metadata writeout when overwriting (diff)
downloadlinux-f3f12faa7414595f502721c90c34deccc1a03c71.tar.xz
linux-f3f12faa7414595f502721c90c34deccc1a03c71.zip
ext4: fix mount option parsing
The "resize" option won't be noticed as it comes after the NULL option, so if you try to mount (or in this case remount) with that option it won't be recognized. Cc: <linux-ext4@vger.kernel.org> Signed-off-by: Josef Bacik <jbacik@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--fs/ext4/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 425f42778efa..9d2d9a7fdea1 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -945,8 +945,8 @@ static match_table_t tokens = {
{Opt_mballoc, "mballoc"},
{Opt_nomballoc, "nomballoc"},
{Opt_stripe, "stripe=%u"},
- {Opt_err, NULL},
{Opt_resize, "resize"},
+ {Opt_err, NULL},
};
static ext4_fsblk_t get_sb_block(void **data)