summaryrefslogtreecommitdiff
path: root/fs/zonefs
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-01-03 22:43:52 +0100
committerDamien Le Moal <damien.lemoal@wdc.com>2021-01-04 09:06:42 +0900
commit4f8b848788f77c7f5c3bd98febce66b7aa14785f (patch)
tree81c294012e2425cf86d4b64662c870d8b0a753b2 /fs/zonefs
parente71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 (diff)
downloadlinux-next-4f8b848788f77c7f5c3bd98febce66b7aa14785f.tar.gz
zonefs: select CONFIG_CRC32
When CRC32 is disabled, zonefs cannot be linked: ld: fs/zonefs/super.o: in function `zonefs_fill_super': Add a Kconfig 'select' statement for it. Fixes: 8dcc1a9d90c1 ("fs: New zonefs file system") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'fs/zonefs')
-rw-r--r--fs/zonefs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/zonefs/Kconfig b/fs/zonefs/Kconfig
index ef2697b78820..827278f937fe 100644
--- a/fs/zonefs/Kconfig
+++ b/fs/zonefs/Kconfig
@@ -3,6 +3,7 @@ config ZONEFS_FS
depends on BLOCK
depends on BLK_DEV_ZONED
select FS_IOMAP
+ select CRC32
help
zonefs is a simple file system which exposes zones of a zoned block
device (e.g. host-managed or host-aware SMR disk drives) as files.