Commit ec350a7f authored by NeilBrown's avatar NeilBrown Committed by Linus Torvalds

[PATCH] md: Raid-6 did not create sysfs entries for stripe cache

Signed-off-by: default avatarBrad Campbell <brad@wasp.net.au>
Signed-off-by: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 926ce2d8
...@@ -2151,6 +2151,8 @@ static int run(mddev_t *mddev) ...@@ -2151,6 +2151,8 @@ static int run(mddev_t *mddev)
} }
/* Ok, everything is just fine now */ /* Ok, everything is just fine now */
sysfs_create_group(&mddev->kobj, &raid6_attrs_group);
mddev->array_size = mddev->size * (mddev->raid_disks - 2); mddev->array_size = mddev->size * (mddev->raid_disks - 2);
mddev->queue->unplug_fn = raid6_unplug_device; mddev->queue->unplug_fn = raid6_unplug_device;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment