]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
bcachefs: Explicitly select CRYPTO from BCACHEFS_FS
authorEric Biggers <ebiggers@google.com>
Mon, 2 Dec 2024 01:08:39 +0000 (17:08 -0800)
committerEric Biggers <ebiggers@google.com>
Mon, 2 Dec 2024 01:23:02 +0000 (17:23 -0800)
Explicitly select CRYPTO from BCACHEFS_FS, so that this dependency of
CRYPTO_SHA256, CRYPTO_CHACHA20, and CRYPTO_POLY1305 (which are also
selected) is satisfied.  Currently this dependency is satisfied
indirectly via LIBCRC32C, but this is fragile and is planned to change
(https://lore.kernel.org/r/20241021002935.325878-13-ebiggers@kernel.org).

Acked-by: Kent Overstreet <kent.overstreet@linux.dev>
Link: https://lore.kernel.org/r/20241202010844.144356-15-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/bcachefs/Kconfig

index ab6c95b895b3359121a5736f0e9ebf28d60f0c97..971ea505e7b0962b125ee72d19be732aebf4423c 100644 (file)
@@ -15,6 +15,7 @@ config BCACHEFS_FS
        select ZLIB_INFLATE
        select ZSTD_COMPRESS
        select ZSTD_DECOMPRESS
+       select CRYPTO
        select CRYPTO_SHA256
        select CRYPTO_CHACHA20
        select CRYPTO_POLY1305