From 18e084ed913a9ebd13c37bfde24b170fa65afdd5 Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Mon, 24 Oct 2022 13:04:34 +0800 Subject: [PATCH] kernel: enable filesystem encryption option This will enable us to test the filesystem encryption feature in cephfs kclient. Signed-off-by: Xiubo Li --- kernel/build/kernel-config-deb.sh | 3 ++- kernel/build/kernel-config-rpm.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/build/kernel-config-deb.sh b/kernel/build/kernel-config-deb.sh index da9618c5..22da16f7 100755 --- a/kernel/build/kernel-config-deb.sh +++ b/kernel/build/kernel-config-deb.sh @@ -5171,7 +5171,8 @@ CONFIG_EXPORTFS=y # CONFIG_EXPORTFS_BLOCK_OPS is not set CONFIG_FILE_LOCKING=y CONFIG_MANDATORY_FILE_LOCKING=y -# CONFIG_FS_ENCRYPTION is not set +CONFIG_FS_ENCRYPTION=y +CONFIG_FS_ENCRYPTION_ALGS=m # CONFIG_FS_VERITY is not set CONFIG_FSNOTIFY=y CONFIG_DNOTIFY=y diff --git a/kernel/build/kernel-config-rpm.sh b/kernel/build/kernel-config-rpm.sh index 1cc5b86a..0a3f2638 100755 --- a/kernel/build/kernel-config-rpm.sh +++ b/kernel/build/kernel-config-rpm.sh @@ -4809,7 +4809,8 @@ CONFIG_EXPORTFS=y # CONFIG_EXPORTFS_BLOCK_OPS is not set CONFIG_FILE_LOCKING=y CONFIG_MANDATORY_FILE_LOCKING=y -# CONFIG_FS_ENCRYPTION is not set +CONFIG_FS_ENCRYPTION=y +CONFIG_FS_ENCRYPTION_ALGS=m # CONFIG_FS_VERITY is not set CONFIG_FSNOTIFY=y CONFIG_DNOTIFY=y -- 2.47.3