aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid1.h')
-rw-r--r--drivers/md/raid1.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/raid1.h b/drivers/md/raid1.h
index 2377a461f794..b6bc7b1c589d 100644
--- a/drivers/md/raid1.h
+++ b/drivers/md/raid1.h
@@ -17,7 +17,7 @@ struct mirror_info {
17 */ 17 */
18 18
19struct pool_info { 19struct pool_info {
20 mddev_t *mddev; 20 struct mddev *mddev;
21 int raid_disks; 21 int raid_disks;
22}; 22};
23 23
@@ -25,7 +25,7 @@ struct pool_info {
25typedef struct r1bio_s r1bio_t; 25typedef struct r1bio_s r1bio_t;
26 26
27struct r1_private_data_s { 27struct r1_private_data_s {
28 mddev_t *mddev; 28 struct mddev *mddev;
29 mirror_info_t *mirrors; 29 mirror_info_t *mirrors;
30 int raid_disks; 30 int raid_disks;
31 31
@@ -114,7 +114,7 @@ struct r1bio_s {
114 sector_t sector; 114 sector_t sector;
115 int sectors; 115 int sectors;
116 unsigned long state; 116 unsigned long state;
117 mddev_t *mddev; 117 struct mddev *mddev;
118 /* 118 /*
119 * original bio going to /dev/mdx 119 * original bio going to /dev/mdx
120 */ 120 */
@@ -173,6 +173,6 @@ struct r1bio_s {
173#define R1BIO_MadeGood 7 173#define R1BIO_MadeGood 7
174#define R1BIO_WriteError 8 174#define R1BIO_WriteError 8
175 175
176extern int md_raid1_congested(mddev_t *mddev, int bits); 176extern int md_raid1_congested(struct mddev *mddev, int bits);
177 177
178#endif 178#endif