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: 8dcc1a9d90 ("fs: New zonefs file system")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
This commit is contained in:
Arnd Bergmann 2021-01-03 22:43:52 +01:00 committed by Damien Le Moal
parent e71ba9452f
commit 4f8b848788

View File

@ -3,6 +3,7 @@ config ZONEFS_FS
depends on BLOCK depends on BLOCK
depends on BLK_DEV_ZONED depends on BLK_DEV_ZONED
select FS_IOMAP select FS_IOMAP
select CRC32
help help
zonefs is a simple file system which exposes zones of a zoned block 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. device (e.g. host-managed or host-aware SMR disk drives) as files.