Skip to content

Commit

Permalink
ext3: fix mount option parsing
Browse files Browse the repository at this point in the history
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: Josef Bacik <jbacik@redhat.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Josef Bacik authored and Linus Torvalds committed Mar 5, 2008
1 parent 348e1e0 commit 9258721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext3/super.c
Expand Up @@ -806,8 +806,8 @@ static match_table_t tokens = {
{Opt_quota, "quota"},
{Opt_usrquota, "usrquota"},
{Opt_barrier, "barrier=%u"},
{Opt_err, NULL},
{Opt_resize, "resize"},
{Opt_err, NULL},
};

static ext3_fsblk_t get_sb_block(void **data)
Expand Down

0 comments on commit 9258721

Please sign in to comment.