Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;