Skip to contentSkip to conversation

zonefs: select CONFIG_CRC32

PATCH Applied Arnd Bergmann 2 participants 2 messages Jan 3, 2021 – Jan 4, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zonefs: select CONFIG_CRC32

From: Arnd Bergmann <[email protected]>

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")
---
 fs/zonefs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
fs/zonefs/Kconfig +1 -0
index ef2697b78820..827278f937fe 100644
@@ -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.
Signature · 1 line
2.29.2
#1 lore raw
Quoted 20 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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")
---
 fs/zonefs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
fs/zonefs/Kconfig +0 -0
index ef2697b78820..827278f937fe 100644

fs/zonefs/Kconfig config ZONEFS_FS · line 9

Quoted 7 lines
fs/zonefs/Kconfig +1 -0
@@ -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.

Applied. Thanks Arnd !

Signature · 2 lines
Damien Le Moal
Western Digital Research