super.c: unused variable warning without CONFIG_QUOTA
PATCH 1/1 super.c: unused variable warning without CONFIG_QUOTA
sb info is only checked with quota support.
fs/ext4/super.c: In function ‘parse_options’:fs/ext4/super.c:1600:23: warning: unused variable ‘sbi’ [-Wunused-variable]
Signed-off-by Eldad Zack <[email protected]>
--- fs/ext4/super.c | 2 ++ 1 file changed, 2 insertions(+)
fs/ext4/super.c +2 -0
@@ -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;
Signature · 1 line
1.7.10
Quoted 6 lines · Eldad Zack
sb info is only checked with quota support.
fs/ext4/super.c: In function ‘parse_options’:fs/ext4/super.c:1600:23: warning: unused variable ‘sbi’ [-Wunused-variable]Signed-off-by Eldad Zack <[email protected]>
Thanks, applied.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html