Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Arnd Bergmann and committed by
Damien Le Moal
4f8b8487 e71ba945

+1
+1
fs/zonefs/Kconfig
··· 3 3 depends on BLOCK 4 4 depends on BLK_DEV_ZONED 5 5 select FS_IOMAP 6 + select CRC32 6 7 help 7 8 zonefs is a simple file system which exposes zones of a zoned block 8 9 device (e.g. host-managed or host-aware SMR disk drives) as files.