From f3a0472900c132d4297eff23fd2ff8c8b12f09b6 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Wed, 10 Feb 2021 14:16:55 +0800 Subject: [PATCH] exfat: add missing MODULE_ALIAS_FS() This adds the necessary MODULE_ALIAS_FS() to exfat so the module gets automatically loaded when an exfat filesystem is mounted. Signed-off-by: Thomas Backlund Signed-off-by: Namjae Jeon Git-commit: cd76ac258cd92a6425cb68f95a76d6abdce5395a Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by: lixiang --- fs/exfat/super.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/exfat/super.c b/fs/exfat/super.c index 4eb1d5eb3144..317b9a386012 100644 --- a/fs/exfat/super.c +++ b/fs/exfat/super.c @@ -724,6 +724,7 @@ static void __exit exit_exfat_fs(void) module_init(init_exfat_fs); module_exit(exit_exfat_fs); +MODULE_ALIAS_FS("exfat"); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("exFAT filesystem support"); -MODULE_AUTHOR("Samsung Electronics Co., Ltd."); \ No newline at end of file +MODULE_AUTHOR("Samsung Electronics Co., Ltd.");