aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@redhat.com>2008-04-29 22:05:28 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-04-29 22:05:28 -0400
commitf3f12faa7414595f502721c90c34deccc1a03c71 (patch)
tree8d1761e9d0fb28ac35f4a4f7c4878caa171baf4c /fs
parent53c550e9750434ddc4275fe0405170e0d1b46731 (diff)
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>
Diffstat (limited to 'fs')
-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 425f42778ef..9d2d9a7fdea 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)