[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>
This commit is contained in:
NeilBrown
2005-11-08 21:39:30 -08:00
committed by Linus Torvalds
parent 31399d9e56
commit 007583c925
4 changed files with 22 additions and 64 deletions

View File

@ -228,7 +228,6 @@ struct raid5_private_data {
* Cleared when a sync completes.
*/
struct kobject kobj;
/*
* Free stripes pool
*/