summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorNeilBrown2007-03-27 07:32:13 +0200
committerLinus Torvalds2007-03-27 18:05:14 +0200
commit3d37890baa4ca962f8a6b77525b8f3d0698eee09 (patch)
tree12e58ec8d5369ba270affe1eb8406e3603b33575 /drivers/md
parent[PATCH] knfsd: nfsd4: remove superfluous cancel_delayed_work() call (diff)
downloadkernel-qcow2-linux-3d37890baa4ca962f8a6b77525b8f3d0698eee09.tar.gz
kernel-qcow2-linux-3d37890baa4ca962f8a6b77525b8f3d0698eee09.tar.xz
kernel-qcow2-linux-3d37890baa4ca962f8a6b77525b8f3d0698eee09.zip
[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 54a1ad5eef42..ae30e87bf505 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,
};