Skip to contentSkip to conversation

s/driverfs/sysfs/ in init/do_mounts.c

PATCH New Rolf Eike Beer 1 participant 2 messages Jan 8, 2005

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

PATCH 1/1 s/driverfs/sysfs/ in init/do_mounts.c

Hi,

since driverfs has been renamed to sysfs long time ago this comments should be fixed.

Eike

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.
  */
 
#1 lore raw

PATCH 1/1 s/driverfs/sysfs/ in include/linux/cpu.h and net/sunrpc/rpc_pipe.c

Hi,

here is another rename of driverfs to sysfs. It looks like there are some more. I will not fix them all, someone should use "grep -ri drivers *" to find and fix some more.

Eike

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]>
  *