Blob Blame History Raw
From cd76ac258cd92a6425cb68f95a76d6abdce5395a Mon Sep 17 00:00:00 2001
From: Thomas Backlund <tmb@mageia.org>
Date: Sat, 4 Apr 2020 23:29:43 +0300
Subject: [Backport cd76ac258cd9] 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 <tmb@mageia.org>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
---
 src/super.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/super.c b/src/super.c
index 30e914ad17b59643bb9ad99beb7868a79659dcee..86c87560602400ec2bc7587268bf025cc54e9ce7 100644
--- a/src/super.c
+++ b/src/super.c
@@ -718,6 +718,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.");
-- 
2.31.1