super.c: unused variable warning without CONFIG_QUOTA
[firefly-linux-kernel-4.4.55.git] / fs / ext4 / super.c
index 6da193564e43b2dc6862dcca4c4aa52689479939..e1fb1d5de58eab4150792974f9784751f4638557 100644 (file)
@@ -1597,7 +1597,9 @@ static int parse_options(char *options, struct super_block *sb,
                         unsigned int *journal_ioprio,
                         int is_remount)
 {
+#ifdef CONFIG_QUOTA
        struct ext4_sb_info *sbi = EXT4_SB(sb);
+#endif
        char *p;
        substring_t args[MAX_OPT_ARGS];
        int token;