aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2005-11-09 00:39:30 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 10:56:38 -0500
commit007583c9253fed363a0bd71b039e9b40a0f6855e (patch)
treef47d3fd94830ae2c09d7d821e8a57ba46ecb13bc /drivers/md/md.c
parent31399d9e56abeec4d819f07eefc97f30b5d5ed75 (diff)
[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>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 013f2f27589c..3db5c3513072 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -1683,12 +1683,6 @@ static void analyze_sbs(mddev_t * mddev)
1683 1683
1684} 1684}
1685 1685
1686struct md_sysfs_entry {
1687 struct attribute attr;
1688 ssize_t (*show)(mddev_t *, char *);
1689 ssize_t (*store)(mddev_t *, const char *, size_t);
1690};
1691
1692static ssize_t 1686static ssize_t
1693md_show_level(mddev_t *mddev, char *page) 1687md_show_level(mddev_t *mddev, char *page)
1694{ 1688{