fs: btrfs: Select SHA256 in Kconfig
authorMatthias Brugger <mbrugger@suse.com>
Wed, 27 Jan 2021 09:42:30 +0000 (10:42 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 29 Jan 2021 15:36:49 +0000 (10:36 -0500)
commit8921ac9747829d511954a946e3e8608818a4847a
treeccf5c93510fc7a363f0ac5efbb1263d691f0dd4b
parent84ca3055f0e6ae9c7d1434fac037bd6b8af1e8c9
fs: btrfs: Select SHA256 in Kconfig

Since commit 565a4147d17a ("fs: btrfs: Add more checksum algorithms")
btrfs uses the sha256 checksum algorithm. But Kconfig lacks to select
it. This leads to compilation errors:
fs/built-in.o: In function `hash_sha256':
fs/btrfs/crypto/hash.c:25: undefined reference to `sha256_starts'
fs/btrfs/crypto/hash.c:26: undefined reference to `sha256_update'
fs/btrfs/crypto/hash.c:27: undefined reference to `sha256_finish'

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
fs/btrfs/Kconfig