diff options
author | NeilBrown <neilb@suse.de> | 2011-10-11 01:48:43 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-10-11 01:48:43 -0400 |
commit | 9f2c9d12bcc53fcb3b787023723754e84d1aef8b (patch) | |
tree | 85fbc63c6e480bdebe06529e1af4d3d483d70452 /drivers/md/raid1.h | |
parent | 2b8bf3451d1e3133ebc3998721d14013a6c27114 (diff) |
md: remove typedefs: r10bio_t -> struct r10bio and r1bio_t -> struct r1bio
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid1.h')
-rw-r--r-- | drivers/md/raid1.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/drivers/md/raid1.h b/drivers/md/raid1.h index 07e9cb91186b..d59e4676a1b0 100644 --- a/drivers/md/raid1.h +++ b/drivers/md/raid1.h | |||
@@ -21,9 +21,6 @@ struct pool_info { | |||
21 | int raid_disks; | 21 | int raid_disks; |
22 | }; | 22 | }; |
23 | 23 | ||
24 | |||
25 | typedef struct r1bio_s r1bio_t; | ||
26 | |||
27 | struct r1_private_data_s { | 24 | struct r1_private_data_s { |
28 | struct mddev *mddev; | 25 | struct mddev *mddev; |
29 | mirror_info_t *mirrors; | 26 | mirror_info_t *mirrors; |
@@ -43,9 +40,9 @@ struct r1_private_data_s { | |||
43 | 40 | ||
44 | spinlock_t device_lock; | 41 | spinlock_t device_lock; |
45 | 42 | ||
46 | /* list of 'r1bio_t' that need to be processed by raid1d, whether | 43 | /* list of 'struct r1bio' that need to be processed by raid1d, |
47 | * to retry a read, writeout a resync or recovery block, or | 44 | * whether to retry a read, writeout a resync or recovery |
48 | * anything else. | 45 | * block, or anything else. |
49 | */ | 46 | */ |
50 | struct list_head retry_list; | 47 | struct list_head retry_list; |
51 | 48 | ||
@@ -80,8 +77,8 @@ struct r1_private_data_s { | |||
80 | * mempools - it changes when the array grows or shrinks | 77 | * mempools - it changes when the array grows or shrinks |
81 | */ | 78 | */ |
82 | struct pool_info *poolinfo; | 79 | struct pool_info *poolinfo; |
83 | mempool_t *r1bio_pool; | 80 | mempool_t *r1bio_pool; |
84 | mempool_t *r1buf_pool; | 81 | mempool_t *r1buf_pool; |
85 | 82 | ||
86 | /* temporary buffer to synchronous IO when attempting to repair | 83 | /* temporary buffer to synchronous IO when attempting to repair |
87 | * a read error. | 84 | * a read error. |
@@ -104,7 +101,7 @@ typedef struct r1_private_data_s conf_t; | |||
104 | * for this RAID1 operation, and about their status: | 101 | * for this RAID1 operation, and about their status: |
105 | */ | 102 | */ |
106 | 103 | ||
107 | struct r1bio_s { | 104 | struct r1bio { |
108 | atomic_t remaining; /* 'have we finished' count, | 105 | atomic_t remaining; /* 'have we finished' count, |
109 | * used from IRQ handlers | 106 | * used from IRQ handlers |
110 | */ | 107 | */ |