]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] md: allow raid4 arrays to be reshaped
authorNeilBrown <neilb@suse.de>
Tue, 27 Mar 2007 05:32:13 +0000 (21:32 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 27 Mar 2007 16:05:14 +0000 (09:05 -0700)
All that is missing the the function pointers in raid4_pers.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/raid5.c

index 54a1ad5eef42e5338c506894e71d03cc4ff36bcd..ae30e87bf505ba40f363e7d2231a50e647b3bc0f 100644 (file)
@@ -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,
 };