diff options
author | NeilBrown <neilb@suse.de> | 2011-10-11 01:47:53 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-10-11 01:47:53 -0400 |
commit | fd01b88c75a718020ff77e7f560d33835e9b58de (patch) | |
tree | c455d5adefd58f3263dcf265bb8ba2024523b106 /drivers/md/raid5.h | |
parent | 3cb03002000f133f9f97269edefd73611eafc873 (diff) |
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/raid5.h')
-rw-r--r-- | drivers/md/raid5.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index 6b234af7bf17..0d222de5e5be 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h | |||
@@ -349,7 +349,7 @@ struct disk_info { | |||
349 | 349 | ||
350 | struct raid5_private_data { | 350 | struct raid5_private_data { |
351 | struct hlist_head *stripe_hashtbl; | 351 | struct hlist_head *stripe_hashtbl; |
352 | mddev_t *mddev; | 352 | struct mddev *mddev; |
353 | struct disk_info *spare; | 353 | struct disk_info *spare; |
354 | int chunk_sectors; | 354 | int chunk_sectors; |
355 | int level, algorithm; | 355 | int level, algorithm; |
@@ -503,7 +503,7 @@ static inline int algorithm_is_DDF(int layout) | |||
503 | return layout >= 8 && layout <= 10; | 503 | return layout >= 8 && layout <= 10; |
504 | } | 504 | } |
505 | 505 | ||
506 | extern int md_raid5_congested(mddev_t *mddev, int bits); | 506 | extern int md_raid5_congested(struct mddev *mddev, int bits); |
507 | extern void md_raid5_kick_device(raid5_conf_t *conf); | 507 | extern void md_raid5_kick_device(raid5_conf_t *conf); |
508 | extern int raid5_set_cache_size(mddev_t *mddev, int size); | 508 | extern int raid5_set_cache_size(struct mddev *mddev, int size); |
509 | #endif | 509 | #endif |