Skip to content

Commit

Permalink
ext4: don't check quota format when there are no quota files
Browse files Browse the repository at this point in the history
commit 279bf6d upstream.

The check whether quota format is set even though there are no
quota files with journalled quota is pointless and it actually
makes it impossible to turn off journalled quotas (as there's
no way to unset journalled quota format). Just remove the check.

Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
  • Loading branch information
jankara authored and Jiri Slaby committed Nov 13, 2014
1 parent 2d550cd commit 0dce193
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1687,13 +1687,6 @@ static int parse_options(char *options, struct super_block *sb,
"not specified");
return 0;
}
} else {
if (sbi->s_jquota_fmt) {
ext4_msg(sb, KERN_ERR, "journaled quota format "
"specified with no journaling "
"enabled");
return 0;
}
}
#endif
if (test_opt(sb, DIOREAD_NOLOCK)) {
Expand Down

0 comments on commit 0dce193

Please sign in to comment.