[PATCH 4/5] fuse: module alias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



the following patch adds MODULE_ALIAS_MISCDEV() definition for fuse
driver.  It will enable the auto-loading of the module via access to
the corresponding device file.

From: Takashi Iwai <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>

diff -rup linux-2.6.13-rc3-mm3/fs/fuse/dev.c linux-fuse/fs/fuse/dev.c
--- linux-2.6.13-rc3-mm3/fs/fuse/dev.c	2005-07-29 11:01:10.000000000 +0200
+++ linux-fuse/fs/fuse/dev.c	2005-07-29 10:36:59.000000000 +0200
@@ -17,6 +17,8 @@
 #include <linux/file.h>
 #include <linux/slab.h>
 
+MODULE_ALIAS_MISCDEV(FUSE_MINOR);
+
 static kmem_cache_t *fuse_req_cachep;
 
 static inline struct fuse_conn *fuse_get_conn(struct file *file)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux