s/driverfs/sysfs/ in init/do_mounts.c
Subsystems (5)
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
Signed-off-by Rolf Eike Beer <[email protected]>
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. */
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
Signed-off-by Rolf Eike Beer <[email protected]>
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]> *