Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db7e5c66 authored by Eldad Zack's avatar Eldad Zack Committed by Theodore Ts'o
Browse files

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: default avatarEldad Zack <eldad@fogrefinery.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 99aa7846
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;