aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/faulty.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-10-11 01:45:26 -0400
committerNeilBrown <neilb@suse.de>2011-10-11 01:45:26 -0400
commit3cb03002000f133f9f97269edefd73611eafc873 (patch)
tree77fdb146666298b33aaeef0c05f082b6f82840fe /drivers/md/faulty.c
parent50de8df4abca1b27dbf7b2f81a56451bd8b5a7d8 (diff)
md: removing typedefs: mdk_rdev_t -> struct md_rdev
The typedefs are just annoying. 'mdk' probably refers to 'md_k.h' which used to be an include file that defined this thing. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/faulty.c')
-rw-r--r--drivers/md/faulty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/faulty.c b/drivers/md/faulty.c
index 23078dabb6df..a0fa5a01ee2f 100644
--- a/drivers/md/faulty.c
+++ b/drivers/md/faulty.c
@@ -87,7 +87,7 @@ typedef struct faulty_conf {
87 sector_t faults[MaxFault]; 87 sector_t faults[MaxFault];
88 int modes[MaxFault]; 88 int modes[MaxFault];
89 int nfaults; 89 int nfaults;
90 mdk_rdev_t *rdev; 90 struct md_rdev *rdev;
91} conf_t; 91} conf_t;
92 92
93static int check_mode(conf_t *conf, int mode) 93static int check_mode(conf_t *conf, int mode)
@@ -297,7 +297,7 @@ static sector_t faulty_size(mddev_t *mddev, sector_t sectors, int raid_disks)
297 297
298static int run(mddev_t *mddev) 298static int run(mddev_t *mddev)
299{ 299{
300 mdk_rdev_t *rdev; 300 struct md_rdev *rdev;
301 int i; 301 int i;
302 conf_t *conf; 302 conf_t *conf;
303 303