summaryrefslogtreecommitdiff
path: root/drivers/md/raid5.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-10-11 09:49:52 +0400
committerNeilBrown <neilb@suse.de>2011-10-11 09:49:52 +0400
commitd1688a6d5515f1900af76a963b4bb6d9a6554cfa (patch)
tree2ed2b1001804b6982697c3785f06580a4e84e31b /drivers/md/raid5.h
parente8096360476689898f038feebf5b352c9ec43a2a (diff)
downloadlinux-d1688a6d5515f1900af76a963b4bb6d9a6554cfa.tar.xz
md/raid5: typedef removal: raid5_conf_t -> struct r5conf
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r--drivers/md/raid5.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h
index cf4702ccf73a..e10c5531f9c5 100644
--- a/drivers/md/raid5.h
+++ b/drivers/md/raid5.h
@@ -197,7 +197,7 @@ enum reconstruct_states {
struct stripe_head {
struct hlist_node hash;
struct list_head lru; /* inactive_list or handle_list */
- struct raid5_private_data *raid_conf;
+ struct r5conf *raid_conf;
short generation; /* increments with every
* reshape */
sector_t sector; /* sector of this row */
@@ -347,7 +347,7 @@ struct disk_info {
struct md_rdev *rdev;
};
-struct raid5_private_data {
+struct r5conf {
struct hlist_head *stripe_hashtbl;
struct mddev *mddev;
struct disk_info *spare;
@@ -439,8 +439,6 @@ struct raid5_private_data {
struct md_thread *thread;
};
-typedef struct raid5_private_data raid5_conf_t;
-
/*
* Our supported algorithms
*/
@@ -504,6 +502,6 @@ static inline int algorithm_is_DDF(int layout)
}
extern int md_raid5_congested(struct mddev *mddev, int bits);
-extern void md_raid5_kick_device(raid5_conf_t *conf);
+extern void md_raid5_kick_device(struct r5conf *conf);
extern int raid5_set_cache_size(struct mddev *mddev, int size);
#endif