All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] zonefs: select CONFIG_CRC32
@ 2021-01-03 21:43 Arnd Bergmann
  2021-01-04  0:13 ` Damien Le Moal
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2021-01-03 21:43 UTC (permalink / raw)
  To: Damien Le Moal, Naohiro Aota, Dave Chinner
  Cc: Arnd Bergmann, Johannes Thumshirn, linux-fsdevel, linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

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>
---
 fs/zonefs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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.
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] zonefs: select CONFIG_CRC32
  2021-01-03 21:43 [PATCH] zonefs: select CONFIG_CRC32 Arnd Bergmann
@ 2021-01-04  0:13 ` Damien Le Moal
  0 siblings, 0 replies; 2+ messages in thread
From: Damien Le Moal @ 2021-01-04  0:13 UTC (permalink / raw)
  To: Arnd Bergmann, Naohiro Aota, Dave Chinner
  Cc: Arnd Bergmann, Johannes Thumshirn, linux-fsdevel, linux-kernel

On 2021/01/04 6:44, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> 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>
> ---
>  fs/zonefs/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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.
> 

Applied. Thanks Arnd !

-- 
Damien Le Moal
Western Digital Research

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-04  0:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-03 21:43 [PATCH] zonefs: select CONFIG_CRC32 Arnd Bergmann
2021-01-04  0:13 ` Damien Le Moal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.