summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-10-11 16:47:53 +1100
committerNeilBrown <neilb@suse.de>2011-10-11 16:47:53 +1100
commitfd01b88c75a718020ff77e7f560d33835e9b58de (patch)
treec455d5adefd58f3263dcf265bb8ba2024523b106 /drivers/md/raid1.h
parent3cb03002000f133f9f97269edefd73611eafc873 (diff)
downloadlinux-stable-fd01b88c75a718020ff77e7f560d33835e9b58de.tar.gz
linux-stable-fd01b88c75a718020ff77e7f560d33835e9b58de.tar.bz2
linux-stable-fd01b88c75a718020ff77e7f560d33835e9b58de.zip
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/raid1.h')
-rw-r--r--drivers/md/raid1.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/raid1.h b/drivers/md/raid1.h
index 2377a461f794..b6bc7b1c589d 100644
--- a/drivers/md/raid1.h
+++ b/drivers/md/raid1.h
@@ -17,7 +17,7 @@ struct mirror_info {
*/
struct pool_info {
- mddev_t *mddev;
+ struct mddev *mddev;
int raid_disks;
};
@@ -25,7 +25,7 @@ struct pool_info {
typedef struct r1bio_s r1bio_t;
struct r1_private_data_s {
- mddev_t *mddev;
+ struct mddev *mddev;
mirror_info_t *mirrors;
int raid_disks;
@@ -114,7 +114,7 @@ struct r1bio_s {
sector_t sector;
int sectors;
unsigned long state;
- mddev_t *mddev;
+ struct mddev *mddev;
/*
* original bio going to /dev/mdx
*/
@@ -173,6 +173,6 @@ struct r1bio_s {
#define R1BIO_MadeGood 7
#define R1BIO_WriteError 8
-extern int md_raid1_congested(mddev_t *mddev, int bits);
+extern int md_raid1_congested(struct mddev *mddev, int bits);
#endif