From: Eric Biggers Date: Thu, 23 Nov 2023 03:08:38 +0000 (-0800) Subject: ceph: select FS_ENCRYPTION_ALGS if FS_ENCRYPTION X-Git-Tag: v6.6.17~981 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8b91a92d4d630da26e7a747911d230d42e9f9a9;p=platform%2Fkernel%2Flinux-rpi.git ceph: select FS_ENCRYPTION_ALGS if FS_ENCRYPTION commit 9c896d6bc3dfef86659a6a1fb25ccdea5dbef6a3 upstream. The kconfig options for filesystems that support FS_ENCRYPTION are supposed to select FS_ENCRYPTION_ALGS. This is needed to ensure that required crypto algorithms get enabled as loadable modules or builtin as is appropriate for the set of enabled filesystems. Do this for CEPH_FS so that there aren't any missing algorithms if someone happens to have CEPH_FS as their only enabled filesystem that supports encryption. Cc: stable@vger.kernel.org Fixes: f061feda6c54 ("ceph: add fscrypt ioctls and ceph.fscrypt.auth vxattr") Signed-off-by: Eric Biggers Reviewed-by: Xiubo Li Signed-off-by: Ilya Dryomov Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/ceph/Kconfig b/fs/ceph/Kconfig index 94df854..7249d70 100644 --- a/fs/ceph/Kconfig +++ b/fs/ceph/Kconfig @@ -7,6 +7,7 @@ config CEPH_FS select CRYPTO_AES select CRYPTO select NETFS_SUPPORT + select FS_ENCRYPTION_ALGS if FS_ENCRYPTION default n help Choose Y or M here to include support for mounting the