Skip to content

Commit bcebb8e

Browse files
naotagregkh
authored andcommitted
zonefs: add MODULE_ALIAS_FS
commit 8ffea25 upstream. Add MODULE_ALIAS_FS() to load the module automatically when you do "mount -t zonefs". Fixes: 8dcc1a9 ("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1c414ff commit bcebb8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/zonefs/super.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,5 +1799,6 @@ static void __exit zonefs_exit(void)
17991799
MODULE_AUTHOR("Damien Le Moal");
18001800
MODULE_DESCRIPTION("Zone file system for zoned block devices");
18011801
MODULE_LICENSE("GPL");
1802+
MODULE_ALIAS_FS("zonefs");
18021803
module_init(zonefs_init);
18031804
module_exit(zonefs_exit);

0 commit comments

Comments
 (0)