]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] reiserfs: fix handling of device names with /'s in them
authorJeff Mahoney <jeffm@suse.com>
Fri, 14 Jul 2006 07:24:22 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 15 Jul 2006 04:53:54 +0000 (21:53 -0700)
commitb94385d2f4fb9ffc62c198adc64430c182b5ce2d
tree103df2f56088e8b1d2467a0e33e82de699afa790
parent63a25d3eaf00a462702431bd0d0640a3a2db888b
[PATCH] reiserfs: fix handling of device names with /'s in them

On systems with block devices containing a slash (virtual dasd, cciss,
etc), reiserfs will fail to initialize /proc/fs/reiserfs/<dev> due to it
being interpreted as a subdirectory.  The generic block device code changes
the / to !  for use in the sysfs tree.  This patch uses that convention.

Tested by making dm devices use dm/<number> rather than dm-<number>

[akpm@osdl.org: name variables consistently]
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/reiserfs/procfs.c