All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] zonefs: add MODULE_ALIAS_FS
@ 2021-12-17  6:15 Naohiro Aota
  2021-12-17  7:55 ` Johannes Thumshirn
  2021-12-17  7:57 ` Damien Le Moal
  0 siblings, 2 replies; 3+ messages in thread
From: Naohiro Aota @ 2021-12-17  6:15 UTC (permalink / raw)
  To: Damien Le Moal; +Cc: Johannes Thumshirn, linux-fsdevel, Naohiro Aota

Add MODULE_ALIAS_FS() to load the module automatically when you do "mount
-t zonefs".

Fixes: 8dcc1a9d90c1 ("fs: New zonefs file system")
Cc: stable <stable@vger.kernel.org> # 5.6+
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
---
- v2
  - Add Fixes and Cc tags
---
 fs/zonefs/super.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c
index 259ee2bda492..b76dfb310ab6 100644
--- a/fs/zonefs/super.c
+++ b/fs/zonefs/super.c
@@ -1787,5 +1787,6 @@ static void __exit zonefs_exit(void)
 MODULE_AUTHOR("Damien Le Moal");
 MODULE_DESCRIPTION("Zone file system for zoned block devices");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS_FS("zonefs");
 module_init(zonefs_init);
 module_exit(zonefs_exit);
-- 
2.34.1


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

* Re: [PATCH v2] zonefs: add MODULE_ALIAS_FS
  2021-12-17  6:15 [PATCH v2] zonefs: add MODULE_ALIAS_FS Naohiro Aota
@ 2021-12-17  7:55 ` Johannes Thumshirn
  2021-12-17  7:57 ` Damien Le Moal
  1 sibling, 0 replies; 3+ messages in thread
From: Johannes Thumshirn @ 2021-12-17  7:55 UTC (permalink / raw)
  To: Naohiro Aota, Damien Le Moal; +Cc: Johannes Thumshirn, linux-fsdevel

On 17/12/2021 07:15, Naohiro Aota wrote:
> Add MODULE_ALIAS_FS() to load the module automatically when you do "mount
> -t zonefs".
> 
> Fixes: 8dcc1a9d90c1 ("fs: New zonefs file system")
> Cc: stable <stable@vger.kernel.org> # 5.6+
> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>

Looks good,
Reviewed-by: Johannes Thumshirn <jth@kernel.org>

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

* Re: [PATCH v2] zonefs: add MODULE_ALIAS_FS
  2021-12-17  6:15 [PATCH v2] zonefs: add MODULE_ALIAS_FS Naohiro Aota
  2021-12-17  7:55 ` Johannes Thumshirn
@ 2021-12-17  7:57 ` Damien Le Moal
  1 sibling, 0 replies; 3+ messages in thread
From: Damien Le Moal @ 2021-12-17  7:57 UTC (permalink / raw)
  To: Naohiro Aota, Damien Le Moal; +Cc: Johannes Thumshirn, linux-fsdevel

On 12/17/21 15:15, Naohiro Aota wrote:
> Add MODULE_ALIAS_FS() to load the module automatically when you do "mount
> -t zonefs".
> 
> Fixes: 8dcc1a9d90c1 ("fs: New zonefs file system")
> Cc: stable <stable@vger.kernel.org> # 5.6+
> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
> ---
> - v2
>   - Add Fixes and Cc tags
> ---
>  fs/zonefs/super.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c
> index 259ee2bda492..b76dfb310ab6 100644
> --- a/fs/zonefs/super.c
> +++ b/fs/zonefs/super.c
> @@ -1787,5 +1787,6 @@ static void __exit zonefs_exit(void)
>  MODULE_AUTHOR("Damien Le Moal");
>  MODULE_DESCRIPTION("Zone file system for zoned block devices");
>  MODULE_LICENSE("GPL");
> +MODULE_ALIAS_FS("zonefs");
>  module_init(zonefs_init);
>  module_exit(zonefs_exit);
> 

Applied. Thanks !

-- 
Damien Le Moal
Western Digital Research

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

end of thread, other threads:[~2021-12-17  7:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17  6:15 [PATCH v2] zonefs: add MODULE_ALIAS_FS Naohiro Aota
2021-12-17  7:55 ` Johannes Thumshirn
2021-12-17  7:57 ` 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.