From: Neil Brown Date: Thu, 12 Jan 2006 09:05:23 +0000 (-0800) Subject: [PATCH] md: remove slashes from disk names when creation dev names in sysfs X-Git-Tag: v2.6.16-rc1~279 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1edf80d347387405ff4e8934d194d75f57a3caef;p=pandora-kernel.git [PATCH] md: remove slashes from disk names when creation dev names in sysfs e.g. The sx8 driver uses names like sx8/0. This would make a md component dev name like /sys/block/md0/md/dev-sx8/0 which is not allowed. So we change the '/' to '!' just like fs/partitions/check.c(register_disk) does. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed