aboutsummaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2007-03-26 21:32:13 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-27 09:05:14 -0700
commit3d37890baa4ca962f8a6b77525b8f3d0698eee09 (patch)
tree12e58ec8d5369ba270affe1eb8406e3603b33575 /drivers/md
parent79f6523a16b2010969418f8df25fe61498dec66b (diff)
[PATCH] md: allow raid4 arrays to be reshaped
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>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/raid5.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 54a1ad5eef4..ae30e87bf50 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,
};