Re: [PATCH] zonefs: add MODULE_ALIAS_FS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2021/12/17 11:24, Naohiro Aota wrote:
> Add MODULE_ALIAS_FS() to load the module automatically when you do "mount
> -t zonefs".
> 
> Signed-off-by: Naohiro Aota <naohiro.aota@xxxxxxx>

It is probably a good idea to add a fixes tag and CC stable, no ?

> ---
>  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);


-- 
Damien Le Moal
Western Digital Research



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux