diff --git a/drivers/md/raid6main.c b/drivers/md/raid6main.c index 6df4930fddecae952d7e5e07c165a97877d12825..ab64b37e499602ac644489ed1d9fb40734d8ef9b 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;