md: remove typedefs: r10bio_t -> struct r10bio and r1bio_t -> struct r1bio
Signed-off-by: NeilBrown <neilb@suse.de>
diff --git a/drivers/md/raid1.h b/drivers/md/raid1.h
index 07e9cb9..d59e467 100644
--- a/drivers/md/raid1.h
+++ b/drivers/md/raid1.h
@@ -21,9 +21,6 @@
int raid_disks;
};
-
-typedef struct r1bio_s r1bio_t;
-
struct r1_private_data_s {
struct mddev *mddev;
mirror_info_t *mirrors;
@@ -43,9 +40,9 @@
spinlock_t device_lock;
- /* list of 'r1bio_t' that need to be processed by raid1d, whether
- * to retry a read, writeout a resync or recovery block, or
- * anything else.
+ /* list of 'struct r1bio' that need to be processed by raid1d,
+ * whether to retry a read, writeout a resync or recovery
+ * block, or anything else.
*/
struct list_head retry_list;
@@ -80,8 +77,8 @@
* mempools - it changes when the array grows or shrinks
*/
struct pool_info *poolinfo;
- mempool_t *r1bio_pool;
- mempool_t *r1buf_pool;
+ mempool_t *r1bio_pool;
+ mempool_t *r1buf_pool;
/* temporary buffer to synchronous IO when attempting to repair
* a read error.
@@ -104,7 +101,7 @@
* for this RAID1 operation, and about their status:
*/
-struct r1bio_s {
+struct r1bio {
atomic_t remaining; /* 'have we finished' count,
* used from IRQ handlers
*/