From: NeilBrown Date: Fri, 31 Mar 2006 10:32:06 +0000 (-0800) Subject: [PATCH] md: Raid-6 did not create sysfs entries for stripe cache X-Git-Tag: v2.6.17-rc1~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec350a7fc16af45e143085594a6c9a18d7a0cba3;p=platform%2Fkernel%2Flinux-3.10.git [PATCH] md: Raid-6 did not create sysfs entries for stripe cache Signed-off-by: Brad Campbell Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/md/raid6main.c b/drivers/md/raid6main.c index 6df4930..ab64b37 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;