summaryrefslogtreecommitdiff
path: root/drivers/md/raid10.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-10-11 09:47:53 +0400
committerNeilBrown <neilb@suse.de>2011-10-11 09:47:53 +0400
commitfd01b88c75a718020ff77e7f560d33835e9b58de (patch)
treec455d5adefd58f3263dcf265bb8ba2024523b106 /drivers/md/raid10.h
parent3cb03002000f133f9f97269edefd73611eafc873 (diff)
downloadlinux-fd01b88c75a718020ff77e7f560d33835e9b58de.tar.xz
md: remove typedefs: mddev_t -> struct mddev
Having mddev_t and 'struct mddev_s' is ugly and not preferred Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid10.h')
-rw-r--r--drivers/md/raid10.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/raid10.h b/drivers/md/raid10.h
index d37260fe9c3f..ad2da69becbe 100644
--- a/drivers/md/raid10.h
+++ b/drivers/md/raid10.h
@@ -16,7 +16,7 @@ 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;
@@ -87,7 +87,7 @@ struct r10bio_s {
sector_t sector; /* virtual sector number */
int sectors;
unsigned long state;
- mddev_t *mddev;
+ struct mddev *mddev;
/*
* original bio going to /dev/mdx
*/