From: NeilBrown Date: Tue, 27 Mar 2007 05:32:13 +0000 (-0800) Subject: [PATCH] md: allow raid4 arrays to be reshaped X-Git-Tag: v2.6.21-rc6~108 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d37890baa4ca962f8a6b77525b8f3d0698eee09;p=linux-2.6 [PATCH] md: allow raid4 arrays to be reshaped All that is missing the the function pointers in raid4_pers. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 54a1ad5eef..ae30e87bf5 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -4104,6 +4104,10 @@ static struct mdk_personality raid4_personality = .spare_active = raid5_spare_active, .sync_request = sync_request, .resize = raid5_resize, +#ifdef CONFIG_MD_RAID5_RESHAPE + .check_reshape = raid5_check_reshape, + .start_reshape = raid5_start_reshape, +#endif .quiesce = raid5_quiesce, };