[PATCH] md: allow raid4 arrays to be reshaped
[linux-2.6.git] / drivers / md / raid5.c
index 54a1ad5..ae30e87 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,
 };