summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-10-11 16:48:46 +1100
committerNeilBrown <neilb@suse.de>2011-10-11 16:48:46 +1100
commit0f6d02d580ca77ee4be085c29c5fe5b879df24d9 (patch)
tree6ac3a0f3fba6cc6f8d66e9c413460ab5a740db8e /drivers/md/raid1.c
parent9f2c9d12bcc53fcb3b787023723754e84d1aef8b (diff)
downloadlinux-0f6d02d580ca77ee4be085c29c5fe5b879df24d9.tar.gz
linux-0f6d02d580ca77ee4be085c29c5fe5b879df24d9.tar.bz2
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.c')
-rw-r--r--drivers/md/raid1.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c
index 6022111a4b28..f6eabeb21281 100644
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -799,7 +799,7 @@ do_sync_io:
static int make_request(struct mddev *mddev, struct bio * bio)
{
conf_t *conf = mddev->private;
- mirror_info_t *mirror;
+ struct mirror_info *mirror;
struct r1bio *r1_bio;
struct bio *read_bio;
int i, disks;
@@ -1268,7 +1268,7 @@ static int raid1_add_disk(struct mddev *mddev, struct md_rdev *rdev)
conf_t *conf = mddev->private;
int err = -EEXIST;
int mirror = 0;
- mirror_info_t *p;
+ struct mirror_info *p;
int first = 0;
int last = mddev->raid_disks - 1;
@@ -1316,7 +1316,7 @@ static int raid1_remove_disk(struct mddev *mddev, int number)
conf_t *conf = mddev->private;
int err = 0;
struct md_rdev *rdev;
- mirror_info_t *p = conf->mirrors+ number;
+ struct mirror_info *p = conf->mirrors+ number;
print_conf(conf);
rdev = p->rdev;
@@ -2369,7 +2369,7 @@ static conf_t *setup_conf(struct mddev *mddev)
{
conf_t *conf;
int i;
- mirror_info_t *disk;
+ struct mirror_info *disk;
struct md_rdev *rdev;
int err = -ENOMEM;
@@ -2612,7 +2612,7 @@ static int raid1_reshape(struct mddev *mddev)
*/
mempool_t *newpool, *oldpool;
struct pool_info *newpoolinfo;
- mirror_info_t *newmirrors;
+ struct mirror_info *newmirrors;
conf_t *conf = mddev->private;
int cnt, raid_disks;
unsigned long flags;