diff options
author | Neil Brown <neilb@suse.de> | 2006-01-12 01:05:23 -0800 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2006-02-09 23:20:17 -0800 |
commit | 4ad9a19782ec6945f525e7dee617b05eb6976123 (patch) | |
tree | 2d6897f59aa9914c054e0bf1f5d64f64ec9f0dc7 /kernel/configs.c | |
parent | c93e834ed994db3290c88391af4c2eea5e3f5f1e (diff) |
[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 <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/configs.c')
0 files changed, 0 insertions, 0 deletions