Skip to content

Commit 9c896d6

Browse files
ebiggersidryomov
authored andcommitted
ceph: select FS_ENCRYPTION_ALGS if FS_ENCRYPTION
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: f061fed ("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>
1 parent b493ad7 commit 9c896d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/ceph/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config CEPH_FS
77
select CRYPTO_AES
88
select CRYPTO
99
select NETFS_SUPPORT
10+
select FS_ENCRYPTION_ALGS if FS_ENCRYPTION
1011
default n
1112
help
1213
Choose Y or M here to include support for mounting the

0 commit comments

Comments
 (0)