md: remove typedefs: r10bio_t -> struct r10bio and r1bio_t -> struct r1bio
[linux-2.6-block.git] / drivers / md / raid10.h
index 79cb52a0d4a223189924ecb4ed20aa4005316772..be7f8d9cfc63f43e90827b38b2d5b1e2bbca224c 100644 (file)
@@ -4,7 +4,7 @@
 typedef struct mirror_info mirror_info_t;
 
 struct mirror_info {
-       mdk_rdev_t      *rdev;
+       struct md_rdev  *rdev;
        sector_t        head_position;
        int             recovery_disabled;      /* matches
                                                 * mddev->recovery_disabled
@@ -13,10 +13,8 @@ struct mirror_info {
                                                 */
 };
 
-typedef struct r10bio_s r10bio_t;
-
 struct r10_private_data_s {
-       mddev_t                 *mddev;
+       struct mddev            *mddev;
        mirror_info_t           *mirrors;
        int                     raid_disks;
        spinlock_t              device_lock;
@@ -68,7 +66,7 @@ struct r10_private_data_s {
        /* When taking over an array from a different personality, we store
         * the new thread here until we fully activate the array.
         */
-       struct mdk_thread_s     *thread;
+       struct md_thread        *thread;
 };
 
 typedef struct r10_private_data_s conf_t;
@@ -80,14 +78,14 @@ typedef struct r10_private_data_s conf_t;
  * for this RAID10 operation, and about their status:
  */
 
-struct r10bio_s {
+struct r10bio {
        atomic_t                remaining; /* 'have we finished' count,
                                            * used from IRQ handlers
                                            */
        sector_t                sector; /* virtual sector number */
        int                     sectors;
        unsigned long           state;
-       mddev_t                 *mddev;
+       struct mddev            *mddev;
        /*
         * original bio going to /dev/mdx
         */