]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/ext4/super.c
ext4: fix mount failure with quota configured as module
[mirror_ubuntu-bionic-kernel.git] / fs / ext4 / super.c
index 93bc2d1c281d27e24c17953047053369ab61d3eb..52e30fa392a11aead3e6f9f499773cc9e0b94502 100644 (file)
@@ -2890,7 +2890,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,