[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)
commit6fbe82a952790c634ea6035c223a01a81377daf1
tree103df2f56088e8b1d2467a0e33e82de699afa790
parentbca3bffec9f37d4cb60b80fd0067f9c7550b5d57
[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