summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-11-22 19:08:38 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-25 15:45:13 -0800
commita13bca9f6aa99bcfd9a4e9502891cfe5ae4b7400 (patch)
treef03f9633b24cdab4971338b1f99e48073dcc90ff
parentb40d66a4d6bafaa7823b48c44749cae47ac765d9 (diff)
downloadlinux-stable-a13bca9f6aa99bcfd9a4e9502891cfe5ae4b7400.tar.gz
linux-stable-a13bca9f6aa99bcfd9a4e9502891cfe5ae4b7400.tar.bz2
linux-stable-a13bca9f6aa99bcfd9a4e9502891cfe5ae4b7400.zip
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 <ebiggers@google.com> Reviewed-by: Xiubo Li <xiubli@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--fs/ceph/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/Kconfig b/fs/ceph/Kconfig
index 94df854147d3..7249d70e1a43 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