Skip to content

Commit 7938db4

Browse files
committed
ext3: Don't check quota format when there are no quota files
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. CC: stable@vger.kernel.org Signed-off-by: Jan Kara <jack@suse.cz>
1 parent c2661b8 commit 7938db4

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎fs/ext3/super.c‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,13 +1354,6 @@ static int parse_options (char *options, struct super_block *sb,
13541354
"not specified.");
13551355
return 0;
13561356
}
1357-
} else {
1358-
if (sbi->s_jquota_fmt) {
1359-
ext3_msg(sb, KERN_ERR, "error: journaled quota format "
1360-
"specified with no journaling "
1361-
"enabled.");
1362-
return 0;
1363-
}
13641357
}
13651358
#endif
13661359
return 1;

0 commit comments

Comments
 (0)