mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
9c896d6bc3
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: f061feda6c
("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>
53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config CEPH_FS
|
|
tristate "Ceph distributed file system"
|
|
depends on INET
|
|
select CEPH_LIB
|
|
select LIBCRC32C
|
|
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
|
|
experimental Ceph distributed file system. Ceph is an extremely
|
|
scalable file system designed to provide high performance,
|
|
reliable access to petabytes of storage.
|
|
|
|
More information at https://ceph.io/.
|
|
|
|
If unsure, say N.
|
|
|
|
if CEPH_FS
|
|
config CEPH_FSCACHE
|
|
bool "Enable Ceph client caching support"
|
|
depends on CEPH_FS=m && FSCACHE || CEPH_FS=y && FSCACHE=y
|
|
help
|
|
Choose Y here to enable persistent, read-only local
|
|
caching support for Ceph clients using FS-Cache
|
|
|
|
endif
|
|
|
|
config CEPH_FS_POSIX_ACL
|
|
bool "Ceph POSIX Access Control Lists"
|
|
depends on CEPH_FS
|
|
select FS_POSIX_ACL
|
|
help
|
|
POSIX Access Control Lists (ACLs) support permissions for users and
|
|
groups beyond the owner/group/world scheme.
|
|
|
|
If you don't know what Access Control Lists are, say N
|
|
|
|
config CEPH_FS_SECURITY_LABEL
|
|
bool "CephFS Security Labels"
|
|
depends on CEPH_FS && SECURITY
|
|
help
|
|
Security labels support alternative access control models
|
|
implemented by security modules like SELinux. This option
|
|
enables an extended attribute handler for file security
|
|
labels in the Ceph filesystem.
|
|
|
|
If you are not using a security module that requires using
|
|
extended attributes for file security labels, say N.
|