aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r--drivers/md/raid5.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h
index 116d0b44b2a9..2390e0e83daf 100644
--- a/drivers/md/raid5.h
+++ b/drivers/md/raid5.h
@@ -337,7 +337,8 @@ struct raid5_private_data {
337 struct hlist_head *stripe_hashtbl; 337 struct hlist_head *stripe_hashtbl;
338 mddev_t *mddev; 338 mddev_t *mddev;
339 struct disk_info *spare; 339 struct disk_info *spare;
340 int chunk_size, level, algorithm; 340 int chunk_sectors;
341 int level, algorithm;
341 int max_degraded; 342 int max_degraded;
342 int raid_disks; 343 int raid_disks;
343 int max_nr_stripes; 344 int max_nr_stripes;
@@ -353,7 +354,8 @@ struct raid5_private_data {
353 */ 354 */
354 sector_t reshape_safe; 355 sector_t reshape_safe;
355 int previous_raid_disks; 356 int previous_raid_disks;
356 int prev_chunk, prev_algo; 357 int prev_chunk_sectors;
358 int prev_algo;
357 short generation; /* increments with every reshape */ 359 short generation; /* increments with every reshape */
358 unsigned long reshape_checkpoint; /* Time we last updated 360 unsigned long reshape_checkpoint; /* Time we last updated
359 * metadata */ 361 * metadata */
@@ -424,8 +426,6 @@ struct raid5_private_data {
424 426
425typedef struct raid5_private_data raid5_conf_t; 427typedef struct raid5_private_data raid5_conf_t;
426 428
427#define mddev_to_conf(mddev) ((raid5_conf_t *) mddev->private)
428
429/* 429/*
430 * Our supported algorithms 430 * Our supported algorithms
431 */ 431 */