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: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec350a7fc16af45e143085594a6c9a18d7a0cba3;p=linux-2.6 [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 6df4930fdd..ab64b37e49 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;