* [PATCH] CIFS: fix module loading regression
@ 2013-03-12 5:41 Cristian Rodríguez
0 siblings, 0 replies; only message in thread
From: Cristian Rodríguez @ 2013-03-12 5:41 UTC (permalink / raw)
To: linux-kernel; +Cc: ebiederm, Cristian Rodríguez
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.
Signed-off-by: Cristian Rodríguez <crrodriguez@opensuse.org>
---
fs/cifs/cifsfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 1a052c0..81ebb98 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -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,
--
1.8.1.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-12 5:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-12 5:41 [PATCH] CIFS: fix module loading regression Cristian Rodríguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®