diff options
author | Chandan Rajendra <chandan@linux.vnet.ibm.com> | 2018-12-12 12:50:12 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-01-24 07:56:43 +0300 |
commit | 643fa9612bf1a29153eee46fd398117632f93cbe (patch) | |
tree | cdab043a388581eadf969671e33c440b4c6f36b1 /fs/ubifs/Kconfig | |
parent | 62230e0d702f613e2f93e9c3ffd2893b36eff2db (diff) | |
download | linux-643fa9612bf1a29153eee46fd398117632f93cbe.tar.xz |
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/ubifs/Kconfig')
-rw-r--r-- | fs/ubifs/Kconfig | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig index bc1e082d921d..9da2f135121b 100644 --- a/fs/ubifs/Kconfig +++ b/fs/ubifs/Kconfig @@ -8,6 +8,7 @@ config UBIFS_FS select CRYPTO_LZO if UBIFS_FS_LZO select CRYPTO_DEFLATE if UBIFS_FS_ZLIB select CRYPTO_HASH_INFO + select UBIFS_FS_XATTR if FS_ENCRYPTION depends on MTD_UBI help UBIFS is a file system for flash devices which works on top of UBI. @@ -60,17 +61,6 @@ config UBIFS_FS_XATTR If unsure, say Y. -config UBIFS_FS_ENCRYPTION - bool "UBIFS Encryption" - depends on UBIFS_FS_XATTR && BLOCK - select FS_ENCRYPTION - default n - help - Enable encryption of UBIFS files and directories. This - feature is similar to ecryptfs, but it is more memory - efficient since it avoids caching the encrypted and - decrypted pages in the page cache. - config UBIFS_FS_SECURITY bool "UBIFS Security Labels" depends on UBIFS_FS_XATTR |