diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 45a77c2b34d5..d8715d008d77 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -2753,7 +2753,7 @@ static int ext4_feature_set_ok(struct super_block *sb, int readonly) return 0; } -#if !defined(CONFIG_QUOTA) || !defined(CONFIG_QFMT_V2) +#if !IS_ENABLED(CONFIG_QUOTA) || !IS_ENABLED(CONFIG_QFMT_V2) if (!readonly && (ext4_has_feature_quota(sb) || ext4_has_feature_project(sb))) { ext4_msg(sb, KERN_ERR,