ext4: don't check quota format when there are no quota files
[firefly-linux-kernel-4.4.55.git] / fs / ext4 / super.c
index 1fc14f7a08b29e067bdd95c51b4bfb5d117a112e..4a33907c3c8a56d41e884a5174d30089c96c7171 100644 (file)
@@ -1632,13 +1632,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)) {