Commit 92587216 authored by Josef Bacik's avatar Josef Bacik Committed by Linus Torvalds

ext3: 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.
Signed-off-by: default avatarJosef Bacik <jbacik@redhat.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 348e1e04
...@@ -806,8 +806,8 @@ static match_table_t tokens = { ...@@ -806,8 +806,8 @@ static match_table_t tokens = {
{Opt_quota, "quota"}, {Opt_quota, "quota"},
{Opt_usrquota, "usrquota"}, {Opt_usrquota, "usrquota"},
{Opt_barrier, "barrier=%u"}, {Opt_barrier, "barrier=%u"},
{Opt_err, NULL},
{Opt_resize, "resize"}, {Opt_resize, "resize"},
{Opt_err, NULL},
}; };
static ext3_fsblk_t get_sb_block(void **data) static ext3_fsblk_t get_sb_block(void **data)
......
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