summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.h
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.h
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.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())