Commit 13ae6d81 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Linus Torvalds

[PATCH] remove driverfs references from init/do_mounts.c

This patch is against 2.6.10, but still applies cleanly. It's just
s/driverfs/sysfs/ in this file.
Signed-off-by: default avatarRolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d51fe1be
...@@ -127,10 +127,10 @@ static dev_t try_name(char *name, int part) ...@@ -127,10 +127,10 @@ static dev_t try_name(char *name, int part)
* used when disk name of partitioned disk ends on a digit. * used when disk name of partitioned disk ends on a digit.
* *
* If name doesn't have fall into the categories above, we return 0. * 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 * all known disks under bus/block/devices. If the disk name
* contains slashes, name of driverfs node has them replaced with * contains slashes, name of sysfs node has them replaced with
* bangs. try_name() does the actual checks, assuming that driverfs * bangs. try_name() does the actual checks, assuming that sysfs
* is mounted on rootfs /sys. * is mounted on rootfs /sys.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment