Skip to content

Commit

Permalink
[PATCH] remove driverfs references from init/do_mounts.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
DerDakon authored and Linus Torvalds committed Sep 2, 2005
1 parent d51fe1b commit 13ae6d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init/do_mounts.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ static dev_t try_name(char *name, int part)
* 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.
*/

Expand Down

0 comments on commit 13ae6d8

Please sign in to comment.