[PATCH 4/5] fuse: module alias

From: Miklos Szeredi
Date: Fri Jul 29 2005 - 06:05:36 EST


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 <tiwai@xxxxxxx>
Signed-off-by: Miklos Szeredi <miklos@xxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/