]> git.neil.brown.name Git - history.git/commit
[PATCH] name_to_dev_t() fix
authorAndrew Morton <akpm@osdl.org>
Mon, 29 Dec 2003 13:55:25 +0000 (05:55 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 29 Dec 2003 13:55:25 +0000 (05:55 -0800)
commitfe08f9d519c6453858d473f0ebedb70ab7aaa10b
tree55f088ba6dc8d5ab775d411569871efdb665be99
parentf2d652b1738b87ac062394ed055472afc77a0660
[PATCH] name_to_dev_t() fix

From: viro@parcelfarce.linux.theplanet.co.uk

When we register disks, we mangle the disk names that contain slashes (e.g.
cciss/c0d0) replacing them with '!' in corresponding sysfs names.  So
name_to_dev_t() should mangle the name in the same way before looking for it
in /sys/block.
init/do_mounts.c