zonefs: add MODULE_ALIAS_FS
Add MODULE_ALIAS_FS() to load the module automatically when you do "mount
-t zonefs".
Fixes: 8dcc1a9d90
("fs: New zonefs file system")
Cc: stable <stable@vger.kernel.org> # 5.6+
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
This commit is contained in:
parent
2585cf9dfa
commit
8ffea2599f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user