]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] md: change raid5 sysfs attribute to not create a new directory
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2005 05:39:30 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:38 +0000 (07:56 -0800)
commit016ffa6f66d3121568c5abadde81023a1c953203
treef47d3fd94830ae2c09d7d821e8a57ba46ecb13bc
parent206566bb9d93d1e84c41e1e3ed70142382cfda45
[PATCH] md: change raid5 sysfs attribute to not create a new directory

There isn't really a need for raid5 attributes to be an a subdirectory,
so this patch moves them from
  /sys/block/mdX/md/raid5/attribute
to
  /sys/block/mdX/md/attribute

This suggests that all md personalities should co-operate about
namespace usage, but that shouldn't be a problem.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c
drivers/md/raid5.c
include/linux/raid/md_k.h
include/linux/raid/raid5.h