mirror of https://gitee.com/openkylin/linux.git
[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: Rolf Eike Beer <eike-kernel@sf-tec.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
d51fe1be3f
commit
13ae6d81b9
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue