diff options
author | NeilBrown <neilb@suse.de> | 2011-10-11 01:47:53 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-10-11 01:47:53 -0400 |
commit | fd01b88c75a718020ff77e7f560d33835e9b58de (patch) | |
tree | c455d5adefd58f3263dcf265bb8ba2024523b106 /drivers/md/raid1.h | |
parent | 3cb03002000f133f9f97269edefd73611eafc873 (diff) |
md: remove typedefs: mddev_t -> struct mddev
Having mddev_t and 'struct mddev_s' is ugly and not preferred
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid1.h')
-rw-r--r-- | drivers/md/raid1.h | 8 |
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 | ||
19 | struct pool_info { | 19 | struct 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 { | |||
25 | typedef struct r1bio_s r1bio_t; | 25 | typedef struct r1bio_s r1bio_t; |
26 | 26 | ||
27 | struct r1_private_data_s { | 27 | struct 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 | ||
176 | extern int md_raid1_congested(mddev_t *mddev, int bits); | 176 | extern int md_raid1_congested(struct mddev *mddev, int bits); |
177 | 177 | ||
178 | #endif | 178 | #endif |