Skip to content

Commit

Permalink
[PATCH] md: Raid-6 did not create sysfs entries for stripe cache
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Campbell <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
neilbrown authored and Linus Torvalds committed Mar 31, 2006
1 parent 926ce2d commit ec350a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/md/raid6main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ec350a7

Please sign in to comment.