Skip to contentSkip to conversation

driverfs is dead

PATCH New Rolf Eike Beer 1 participant 3 messages Sep 2, 2005

Subsystems (5)
Networking VFS NFS client NFS server +1 more subsystems
lore
Share & tools
lore
#0 lore raw

cover driverfs is dead

This little patch series removes some references to driverfs, which is called sysfs for a long time.

No code changes, this is all in comments. Please apply,

Eike

#1 lore raw

PATCH 1/2 remove driverfs references from include/linux/cpu.h and net/sunrpc/rpc_pipe.c

This patch is against 2.6.10, but still applies cleanly. It's just s/driverfs/sysfs/ in these two files.

include/linux/cpu.h.fixed renamed from include/linux/cpu.h +1 -1
@@ -8,7 +8,7 @@
  * Basic handling of the devices is done in drivers/base/cpu.c
  * and system devices are handled in drivers/base/sys.c. 
  *
- * CPUs are exported via driverfs in the class/cpu/devices/
+ * CPUs are exported via sysfs in the class/cpu/devices/
  * directory. 
  *
  * Per-cpu interfaces can be implemented using a struct device_interface. 
net/sunrpc/rpc_pipe.c.fixed renamed from net/sunrpc/rpc_pipe.c +1 -1
@@ -3,7 +3,7 @@
  *
  * Userland/kernel interface for rpcauth_gss.
  * Code shamelessly plagiarized from fs/nfsd/nfsctl.c
- * and fs/driverfs/inode.c
+ * and fs/sysfs/inode.c
  *
  * Copyright (c) 2002, Trond Myklebust <[email protected]>
  *
#2 lore raw

PATCH 2/2 remove driverfs references from init/do_mounts.c

In reply to Rolf Eike Beer

This patch is against 2.6.10, but still applies cleanly. It's just s/driverfs/sysfs/ in this file.

init/do_mounts.c.fixed renamed from init/do_mounts.c +3 -3
@@ -127,10 +127,10 @@ fail:
  *	   used when disk name of partitioned disk ends on a digit.
  *
  *	If name doesn't have fall into the categories above, we return 0.
- *	Driverfs is used to check if something is a disk name - it has
+ *	Sysfs is used to check if something is a disk name - it has
  *	all known disks under bus/block/devices.  If the disk name
- *	contains slashes, name of driverfs node has them replaced with
- *	bangs.  try_name() does the actual checks, assuming that driverfs
+ *	contains slashes, name of sysfs node has them replaced with
+ *	bangs.  try_name() does the actual checks, assuming that sysfs
  *	is mounted on rootfs /sys.
  */