diff options
author | NeilBrown <neilb@suse.de> | 2007-03-27 01:32:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-27 12:05:14 -0400 |
commit | 3d37890baa4ca962f8a6b77525b8f3d0698eee09 (patch) | |
tree | 12e58ec8d5369ba270affe1eb8406e3603b33575 /drivers/md/raid5.c | |
parent | 79f6523a16b2010969418f8df25fe61498dec66b (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/raid5.c')
-rw-r--r-- | drivers/md/raid5.c | 4 |
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 = | |||
4104 | .spare_active = raid5_spare_active, | 4104 | .spare_active = raid5_spare_active, |
4105 | .sync_request = sync_request, | 4105 | .sync_request = sync_request, |
4106 | .resize = raid5_resize, | 4106 | .resize = raid5_resize, |
4107 | #ifdef CONFIG_MD_RAID5_RESHAPE | ||
4108 | .check_reshape = raid5_check_reshape, | ||
4109 | .start_reshape = raid5_start_reshape, | ||
4110 | #endif | ||
4107 | .quiesce = raid5_quiesce, | 4111 | .quiesce = raid5_quiesce, |
4108 | }; | 4112 | }; |
4109 | 4113 | ||