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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ec350a7fc16af45e143085594a6c9a18d7a0cba3;p=openwrt%2Fstaging%2Fblogic.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 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;