patch-2.3.99-pre7 linux/fs/devfs/base.c

Next file: linux/fs/devpts/root.c
Previous file: linux/fs/dcache.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/fs/devfs/base.c linux/fs/devfs/base.c
@@ -443,6 +443,14 @@
 	       Don't kill existing block ops in <devfs_read_inode>.
 	       Work sponsored by SGI.
   v0.94
+    20000424   Richard Gooch <rgooch@atnf.csiro.au>
+	       Don't create missing directories in <devfs_find_handle>.
+	       Work sponsored by SGI.
+  v0.95
+    20000430   Richard Gooch <rgooch@atnf.csiro.au>
+	       Added CONFIG_DEVFS_MOUNT.
+	       Work sponsored by SGI.
+  v0.96
 */
 #include <linux/types.h>
 #include <linux/errno.h>
@@ -477,7 +485,7 @@
 #include <asm/bitops.h>
 #include <asm/atomic.h>
 
-#define DEVFS_VERSION            "0.94 (20000415)"
+#define DEVFS_VERSION            "0.96 (20000430)"
 
 #ifndef DEVFS_NAME
 #  define DEVFS_NAME "devfs"
@@ -691,8 +699,11 @@
 #  endif
 #endif
 
-/* by default, we do not mount devfs on bootup */
+#ifdef CONFIG_DEVFS_MOUNT
+static unsigned int boot_options = OPTION_NONE;
+#else
 static unsigned int boot_options = OPTION_NOMOUNT;
+#endif
 
 /*  Forward function declarations  */
 static struct devfs_entry *search_for_entry (struct devfs_entry *dir,
@@ -959,7 +970,7 @@
 	    ++name;
 	    --namelen;
 	}
-	entry = search_for_entry (dir, name, namelen, TRUE, FALSE, NULL,
+	entry = search_for_entry (dir, name, namelen, FALSE, FALSE, NULL,
 				  traverse_symlink);
 	if (entry != NULL) return entry;
     }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)