Skip to content

Commit 8ffea25

Browse files
naotaDamien Le Moal
authored andcommitted
zonefs: add MODULE_ALIAS_FS
Add MODULE_ALIAS_FS() to load the module automatically when you do "mount -t zonefs". Fixes: 8dcc1a9 ("fs: New zonefs file system") Cc: stable <[email protected]> # 5.6+ Signed-off-by: Naohiro Aota <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 2585cf9 commit 8ffea25

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
@@ -1787,5 +1787,6 @@ static void __exit zonefs_exit(void)
17871787
MODULE_AUTHOR("Damien Le Moal");
17881788
MODULE_DESCRIPTION("Zone file system for zoned block devices");
17891789
MODULE_LICENSE("GPL");
1790+
MODULE_ALIAS_FS("zonefs");
17901791
module_init(zonefs_init);
17911792
module_exit(zonefs_exit);

0 commit comments

Comments
 (0)