summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ioctl.c
diff options
context:
space:
mode:
authorChandan Rajendra <chandan@linux.vnet.ibm.com>2018-12-12 04:50:12 -0500
committerTheodore Ts'o <tytso@mit.edu>2019-01-23 23:56:43 -0500
commit643fa9612bf1a29153eee46fd398117632f93cbe (patch)
treecdab043a388581eadf969671e33c440b4c6f36b1 /fs/ext4/ioctl.c
parent62230e0d702f613e2f93e9c3ffd2893b36eff2db (diff)
fscrypt: remove filesystem specific build config option
In order to have a common code base for fscrypt "post read" processing for all filesystems which support encryption, this commit removes filesystem specific build config option (e.g. CONFIG_EXT4_FS_ENCRYPTION) and replaces it with a build option (i.e. CONFIG_FS_ENCRYPTION) whose value affects all the filesystems making use of fscrypt. Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/ext4/ioctl.c')
-rw-r--r--fs/ext4/ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c
index d37dafa1d133..d26bcac291bb 100644
--- a/fs/ext4/ioctl.c
+++ b/fs/ext4/ioctl.c
@@ -210,7 +210,7 @@ journal_err_out:
210 return err; 210 return err;
211} 211}
212 212
213#ifdef CONFIG_EXT4_FS_ENCRYPTION 213#ifdef CONFIG_FS_ENCRYPTION
214static int uuid_is_zero(__u8 u[16]) 214static int uuid_is_zero(__u8 u[16])
215{ 215{
216 int i; 216 int i;
@@ -978,7 +978,7 @@ resizefs_out:
978 return fscrypt_ioctl_set_policy(filp, (const void __user *)arg); 978 return fscrypt_ioctl_set_policy(filp, (const void __user *)arg);
979 979
980 case EXT4_IOC_GET_ENCRYPTION_PWSALT: { 980 case EXT4_IOC_GET_ENCRYPTION_PWSALT: {
981#ifdef CONFIG_EXT4_FS_ENCRYPTION 981#ifdef CONFIG_FS_ENCRYPTION
982 int err, err2; 982 int err, err2;
983 struct ext4_sb_info *sbi = EXT4_SB(sb); 983 struct ext4_sb_info *sbi = EXT4_SB(sb);
984 handle_t *handle; 984 handle_t *handle;