From e183eaedd53807e33f02ee80573e2833890e1f21 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Tue, 31 Mar 2009 15:20:22 +1100 Subject: md/raid5: prepare for allowing reshape to change layout Add prev_algo to raid5_conf_t along the same lines as prev_chunk and previous_raid_disks. Signed-off-by: NeilBrown --- drivers/md/raid5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/md/raid5.h') diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index b9c93280fc1..cdd04568172 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h @@ -350,7 +350,7 @@ struct raid5_private_data { */ sector_t reshape_safe; int previous_raid_disks; - int prev_chunk; + int prev_chunk, prev_algo; short generation; /* increments with every reshape */ struct list_head handle_list; /* stripes needing handling */ -- cgit v1.2.3