summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-10-11 07:48:46 +0200
committerNeilBrown <neilb@suse.de>2011-10-11 07:48:46 +0200
commit0f6d02d580ca77ee4be085c29c5fe5b879df24d9 (patch)
tree6ac3a0f3fba6cc6f8d66e9c413460ab5a740db8e /drivers/md/raid1.h
parentmd: remove typedefs: r10bio_t -> struct r10bio and r1bio_t -> struct r1bio (diff)
downloadlinux-0f6d02d580ca77ee4be085c29c5fe5b879df24d9.tar.xz
linux-0f6d02d580ca77ee4be085c29c5fe5b879df24d9.zip
md: remove typedefs: mirror_info_t -> struct mirror_info
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid1.h')
-rw-r--r--drivers/md/raid1.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/md/raid1.h b/drivers/md/raid1.h
index d59e4676a1b0..dd5e66a4163f 100644
--- a/drivers/md/raid1.h
+++ b/drivers/md/raid1.h
@@ -1,8 +1,6 @@
#ifndef _RAID1_H
#define _RAID1_H
-typedef struct mirror_info mirror_info_t;
-
struct mirror_info {
struct md_rdev *rdev;
sector_t head_position;
@@ -23,7 +21,7 @@ struct pool_info {
struct r1_private_data_s {
struct mddev *mddev;
- mirror_info_t *mirrors;
+ struct mirror_info *mirrors;
int raid_disks;
/* When choose the best device for a read (read_balance())