Skip to contentSkip to conversation

CIFS: fix module loading regression

PATCH New Cristian Rodríguez 1 participant 1 message Mar 12, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CIFS: fix module loading regression

Since commit:

7f78e0351394052e1a6293e175825eb5c7869507
fs: Limit sys_mount to only request filesystem modules.

cifs module no longer loads when issuing the mount command due to the lack of a MODULE_ALIAS_FS.

---
 fs/cifs/cifsfs.c | 2 ++
 1 file changed, 2 insertions(+)
fs/cifs/cifsfs.c +2 -0
index 1a052c0..81ebb98 100644
@@ -777,6 +777,8 @@ struct file_system_type cifs_fs_type = {
 	.kill_sb = cifs_kill_sb,
 	/*  .fs_flags */
 };
+MODULE_ALIAS_FS("cifs");
+
 const struct inode_operations cifs_dir_inode_ops = {
 	.create = cifs_create,
 	.atomic_open = cifs_atomic_open,
Signature · 1 line
1.8.1.4