summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-03-31 12:32:06 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-31 22:19:01 +0200
commitec350a7fc16af45e143085594a6c9a18d7a0cba3 (patch)
treed167b6faa3e079edaf830b4adb6d156d9314fd47 /drivers/md
parent[PATCH] md: Remove some code that can sleep from under a spinlock (diff)
downloadlinux-ec350a7fc16af45e143085594a6c9a18d7a0cba3.tar.xz
linux-ec350a7fc16af45e143085594a6c9a18d7a0cba3.zip
[PATCH] md: Raid-6 did not create sysfs entries for stripe cache
Signed-off-by: Brad Campbell <brad@wasp.net.au> 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')
-rw-r--r--drivers/md/raid6main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/raid6main.c b/drivers/md/raid6main.c
index 6df4930fddec..ab64b37e4996 100644
--- a/drivers/md/raid6main.c
+++ b/drivers/md/raid6main.c
@@ -2151,6 +2151,8 @@ static int run(mddev_t *mddev)
}
/* Ok, everything is just fine now */
+ sysfs_create_group(&mddev->kobj, &raid6_attrs_group);
+
mddev->array_size = mddev->size * (mddev->raid_disks - 2);
mddev->queue->unplug_fn = raid6_unplug_device;