diff options
Diffstat (limited to 'drivers/md/multipath.h')
-rw-r--r-- | drivers/md/multipath.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/md/multipath.h b/drivers/md/multipath.h index 3c5a45eb5f8a..717c60f62898 100644 --- a/drivers/md/multipath.h +++ b/drivers/md/multipath.h | |||
@@ -2,11 +2,11 @@ | |||
2 | #define _MULTIPATH_H | 2 | #define _MULTIPATH_H |
3 | 3 | ||
4 | struct multipath_info { | 4 | struct multipath_info { |
5 | mdk_rdev_t *rdev; | 5 | struct md_rdev *rdev; |
6 | }; | 6 | }; |
7 | 7 | ||
8 | struct multipath_private_data { | 8 | struct mpconf { |
9 | mddev_t *mddev; | 9 | struct mddev *mddev; |
10 | struct multipath_info *multipaths; | 10 | struct multipath_info *multipaths; |
11 | int raid_disks; | 11 | int raid_disks; |
12 | spinlock_t device_lock; | 12 | spinlock_t device_lock; |
@@ -15,8 +15,6 @@ struct multipath_private_data { | |||
15 | mempool_t *pool; | 15 | mempool_t *pool; |
16 | }; | 16 | }; |
17 | 17 | ||
18 | typedef struct multipath_private_data multipath_conf_t; | ||
19 | |||
20 | /* | 18 | /* |
21 | * this is our 'private' 'collective' MULTIPATH buffer head. | 19 | * this is our 'private' 'collective' MULTIPATH buffer head. |
22 | * it contains information about what kind of IO operations were started | 20 | * it contains information about what kind of IO operations were started |
@@ -24,7 +22,7 @@ typedef struct multipath_private_data multipath_conf_t; | |||
24 | */ | 22 | */ |
25 | 23 | ||
26 | struct multipath_bh { | 24 | struct multipath_bh { |
27 | mddev_t *mddev; | 25 | struct mddev *mddev; |
28 | struct bio *master_bio; | 26 | struct bio *master_bio; |
29 | struct bio bio; | 27 | struct bio bio; |
30 | int path; | 28 | int path; |