diff options
author | NeilBrown <neilb@suse.de> | 2006-03-31 14:32:06 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-01 00:19:01 +0400 |
commit | ec350a7fc16af45e143085594a6c9a18d7a0cba3 (patch) | |
tree | d167b6faa3e079edaf830b4adb6d156d9314fd47 /drivers/md | |
parent | 926ce2d8a7d446c720faec9d8c5105eeb04bcf7a (diff) | |
download | linux-ec350a7fc16af45e143085594a6c9a18d7a0cba3.tar.xz |
[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.c | 2 |
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; |