btrfs: add back libcrc32c Kconfig dependency
PATCH 1/1 btrfs: add back libcrc32c Kconfig dependency
While part of btrfs now uses the crypto shash interfaces for crc32c, we still get a build time dependency in other places:
fs/btrfs/super.o: In function `btrfs_mount_root':
super.c:(.text+0xc0d4): undefined reference to `crc32c_impl'fs/btrfs/super.o: In function `btrfs_print_mod_info':
super.c:(.init.text+0x3e28): undefined reference to crc32c_impl' fs/btrfs/extent-tree.o: In function lookup_inline_extent_backref':
extent-tree.c:(.text+0x17750): undefined reference to crc32c' fs/btrfs/extent-tree.o:extent-tree.c:(.text+0x177f4): more undefined references to crc32c' follow
Change Kconfig to depend on both.
Fixes d5178578bcd4 ("btrfs: directly call into crypto framework for checksumming")
Signed-off-by Arnd Bergmann <[email protected]>
--- fs/btrfs/Kconfig | 1 + 1 file changed, 1 insertion(+)
fs/btrfs/Kconfig +1 -0
@@ -3,6 +3,7 @@ config BTRFS_FS tristate "Btrfs filesystem support" select CRYPTO + select LIBCRC32C select CRYPTO_CRC32C select CRYPTO_SHA256 select ZLIB_INFLATE
Signature · 1 line
2.20.0
This is already queued:
https://lore.kernel.org/linux-btrfs/[email protected]/T/#t
Signature · 6 lines
Johannes Thumshirn SUSE Labs Filesystems [email protected] +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850