Hi Miklos and LKML,
could this patch be useful? It's rather cosmetics, but at least fuse did not
die of MISC_DYNAMIC_MINOR.
(Base is a linux-2.6.13-rc1)
diff -Pdpru S0706/include/linux/fuse.h AS17/include/linux/fuse.h
--- S0706/include/linux/fuse.h 2005-07-07 20:53:42.000000000 +0200
+++ AS17/include/linux/fuse.h 2005-07-09 11:38:55.000000000 +0200
@@ -9,6 +9,8 @@
/* This file defines the kernel interface of FUSE */
#include <asm/types.h>
+#include <linux/major.h>
+#include <linux/miscdevice.h>
/** Version number of this interface */
#define FUSE_KERNEL_VERSION 7
@@ -20,10 +22,10 @@
#define FUSE_ROOT_ID 1
/** The major number of the fuse character device */
-#define FUSE_MAJOR 10
+#define FUSE_MAJOR MISC_MAJOR
/** The minor number of the fuse character device */
-#define FUSE_MINOR 229
+#define FUSE_MINOR MISC_DYNAMIC_MINOR
/* Make sure all structures are padded to 64bit boundary, so 32bit
userspace works under 64bit kernels */
#### EOF
Jan Engelhardt
--
-
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]
|
|