[PATCH 3/9] staging/lustre: llite: add module alias

Peng Tao bergwolf at gmail.com
Mon Jun 3 13:58:16 UTC 2013


So that sys_mount can find and load lustre module automatically.

Signed-off-by: Peng Tao <tao.peng at emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger at intel.com>
---
 drivers/staging/lustre/lustre/llite/super25.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/llite/super25.c b/drivers/staging/lustre/lustre/llite/super25.c
index 4101c52..82c14a9 100644
--- a/drivers/staging/lustre/lustre/llite/super25.c
+++ b/drivers/staging/lustre/lustre/llite/super25.c
@@ -100,7 +100,7 @@ struct super_operations lustre_super_operations =
 	.remount_fs    = ll_remount_fs,
 	.show_options  = ll_show_options,
 };
-
+MODULE_ALIAS_FS("lustre");
 
 void lustre_register_client_process_config(int (*cpc)(struct lustre_cfg *lcfg));
 
-- 
1.7.9.5




More information about the devel mailing list