summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2021-01-27 10:42:30 +0100
committerTom Rini <trini@konsulko.com>2021-01-29 10:36:49 -0500
commit8921ac9747829d511954a946e3e8608818a4847a (patch)
treeccf5c93510fc7a363f0ac5efbb1263d691f0dd4b /fs
parent84ca3055f0e6ae9c7d1434fac037bd6b8af1e8c9 (diff)
downloadu-boot-8921ac9747829d511954a946e3e8608818a4847a.tar.gz
u-boot-8921ac9747829d511954a946e3e8608818a4847a.tar.bz2
u-boot-8921ac9747829d511954a946e3e8608818a4847a.zip
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig
index f302b1fbef..2a32f42ad1 100644
--- a/fs/btrfs/Kconfig
+++ b/fs/btrfs/Kconfig
@@ -4,6 +4,7 @@ config FS_BTRFS
select LZO
select ZSTD
select RBTREE
+ select SHA256
help
This provides a single-device read-only BTRFS support. BTRFS is a
next-generation Linux file system based on the copy-on-write