lkml.org 
[lkml]   [2006]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Let FUSE use MISC_MAJOR


Have fuse.h use MISC_MAJOR rather than a hardcoded '10'.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>


diff --fast -Ndpru linux-2.6.17-rc4~/include/linux/fuse.h linux-2.6.17-rc4+/include/linux/fuse.h
--- linux-2.6.17-rc4~/include/linux/fuse.h 2006-05-12 01:31:53.000000000 +0200
+++ linux-2.6.17-rc4+/include/linux/fuse.h 2006-05-19 23:40:32.461051000 +0200
@@ -9,6 +9,7 @@
/* This file defines the kernel interface of FUSE */

#include <asm/types.h>
+#include <linux/major.h>

/** Version number of this interface */
#define FUSE_KERNEL_VERSION 7
@@ -20,7 +21,7 @@
#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
<<eof>>
Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-20 23:46    [W:0.026 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site