aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ubifs/sb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/sb.c b/fs/ubifs/sb.c
index 2afc8b1d4c3b..3ca41965db6e 100644
--- a/fs/ubifs/sb.c
+++ b/fs/ubifs/sb.c
@@ -748,7 +748,7 @@ int ubifs_read_superblock(struct ubifs_info *c)
748 goto out; 748 goto out;
749 } 749 }
750 750
751 if (!IS_ENABLED(CONFIG_UBIFS_FS_ENCRYPTION) && c->encrypted) { 751 if (!IS_ENABLED(CONFIG_FS_ENCRYPTION) && c->encrypted) {
752 ubifs_err(c, "file system contains encrypted files but UBIFS" 752 ubifs_err(c, "file system contains encrypted files but UBIFS"
753 " was built without crypto support."); 753 " was built without crypto support.");
754 err = -EINVAL; 754 err = -EINVAL;
@@ -941,7 +941,7 @@ int ubifs_enable_encryption(struct ubifs_info *c)
941 int err; 941 int err;
942 struct ubifs_sb_node *sup = c->sup_node; 942 struct ubifs_sb_node *sup = c->sup_node;
943 943
944 if (!IS_ENABLED(CONFIG_UBIFS_FS_ENCRYPTION)) 944 if (!IS_ENABLED(CONFIG_FS_ENCRYPTION))
945 return -EOPNOTSUPP; 945 return -EOPNOTSUPP;
946 946
947 if (c->encrypted) 947 if (c->encrypted)