diff options
author | NeilBrown <neilb@suse.de> | 2007-03-27 05:32:13 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-27 16:05:14 (GMT) |
commit | 3d37890baa4ca962f8a6b77525b8f3d0698eee09 (patch) | |
tree | 12e58ec8d5369ba270affe1eb8406e3603b33575 /drivers/md/raid5.c | |
parent | 79f6523a16b2010969418f8df25fe61498dec66b (diff) | |
download | linux-3d37890baa4ca962f8a6b77525b8f3d0698eee09.tar.xz |
[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 54a1ad5..ae30e87 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, }; |