Skip to content

Commit 95fda60

Browse files
jankaragregkh
authored andcommitted
ext4: don't check quota format when there are no quota files
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: Greg Kroah-Hartman <[email protected]>
1 parent 8fc610f commit 95fda60

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

fs/ext4/super.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1706,13 +1706,6 @@ static int parse_options(char *options, struct super_block *sb,
17061706
"not specified");
17071707
return 0;
17081708
}
1709-
} else {
1710-
if (sbi->s_jquota_fmt) {
1711-
ext4_msg(sb, KERN_ERR, "journaled quota format "
1712-
"specified with no journaling "
1713-
"enabled");
1714-
return 0;
1715-
}
17161709
}
17171710
#endif
17181711
if (test_opt(sb, DIOREAD_NOLOCK)) {

0 commit comments

Comments
 (0)