]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ceph: select FS_ENCRYPTION_ALGS if FS_ENCRYPTION
authorEric Biggers <ebiggers@google.com>
Thu, 23 Nov 2023 03:08:38 +0000 (19:08 -0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 15 Jan 2024 14:40:50 +0000 (15:40 +0100)
commit9c896d6bc3dfef86659a6a1fb25ccdea5dbef6a3
tree101f9a65df517e034f927f2dafec8e40c113105e
parentb493ad718b1f0357394d2cdecbf00a44a36fa085
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: 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>
fs/ceph/Kconfig