]> err.no Git - linux-2.6/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)
commit007583c9253fed363a0bd71b039e9b40a0f6855e
treef47d3fd94830ae2c09d7d821e8a57ba46ecb13bc
parent31399d9e56abeec4d819f07eefc97f30b5d5ed75
[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