Skip to contentSkip to conversation

ceph: stop selecting CRC32, CRYPTO, and CRYPTO_AES

PATCH Applied Eric Biggers 2 participants 2 messages Dec 5, 2025 – Dec 7, 2025 Ceph client

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ceph: stop selecting CRC32, CRYPTO, and CRYPTO_AES

None of the CEPH_FS code directly requires CRC32, CRYPTO, or CRYPTO_AES. These options do get selected indirectly anyway via CEPH_LIB, which does need them, but there is no need for CEPH_FS to select them too.

---

v2: also remove CRC32

 fs/ceph/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
fs/ceph/Kconfig +0 -3
index 3e7def3d31c1..3d64a316ca31 100644
@@ -1,13 +1,10 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config CEPH_FS
 	tristate "Ceph distributed file system"
 	depends on INET
 	select CEPH_LIB
-	select CRC32
-	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

base-commit: bc04acf4aeca588496124a6cf54bfce3db327039

Signature · 1 line
2.52.0
maintainer Applied
#1 lore raw
Quoted 32 lines · Eric Biggers

None of the CEPH_FS code directly requires CRC32, CRYPTO, or CRYPTO_AES. These options do get selected indirectly anyway via CEPH_LIB, which does need them, but there is no need for CEPH_FS to select them too.

---

v2: also remove CRC32

 fs/ceph/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
fs/ceph/Kconfig +0 -3
index 3e7def3d31c1..3d64a316ca31 100644
@@ -1,13 +1,10 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config CEPH_FS
        tristate "Ceph distributed file system"
        depends on INET
        select CEPH_LIB
-       select CRC32
-       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
Quoted 4 lines

base-commit: bc04acf4aeca588496124a6cf54bfce3db327039 --
2.52.0

Applied.

Thanks,

Ilya