summaryrefslogtreecommitdiff
path: root/drivers/md/raid10.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-10-11 09:48:46 +0400
committerNeilBrown <neilb@suse.de>2011-10-11 09:48:46 +0400
commit0f6d02d580ca77ee4be085c29c5fe5b879df24d9 (patch)
tree6ac3a0f3fba6cc6f8d66e9c413460ab5a740db8e /drivers/md/raid10.h
parent9f2c9d12bcc53fcb3b787023723754e84d1aef8b (diff)
downloadlinux-0f6d02d580ca77ee4be085c29c5fe5b879df24d9.tar.xz
md: remove typedefs: mirror_info_t -> struct mirror_info
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid10.h')
-rw-r--r--drivers/md/raid10.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/md/raid10.h b/drivers/md/raid10.h
index be7f8d9cfc63..94f898a11be4 100644
--- a/drivers/md/raid10.h
+++ b/drivers/md/raid10.h
@@ -1,8 +1,6 @@
#ifndef _RAID10_H
#define _RAID10_H
-typedef struct mirror_info mirror_info_t;
-
struct mirror_info {
struct md_rdev *rdev;
sector_t head_position;
@@ -15,7 +13,7 @@ struct mirror_info {
struct r10_private_data_s {
struct mddev *mddev;
- mirror_info_t *mirrors;
+ struct mirror_info *mirrors;
int raid_disks;
spinlock_t device_lock;