Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

Jan Kara 7938db44 c2661b80

-7
-7
fs/ext3/super.c
··· 1354 1354 "not specified."); 1355 1355 return 0; 1356 1356 } 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 - } 1364 1357 } 1365 1358 #endif 1366 1359 return 1;