提交 ec350a7f 编写于 作者: N NeilBrown 提交者: Linus Torvalds

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

Signed-off-by: NBrad Campbell <brad@wasp.net.au>
Signed-off-by: NNeil Brown <neilb@suse.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 926ce2d8
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册