summaryrefslogtreecommitdiffstats
path: root/include/linux/raid5.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/raid5.h')
-rw-r--r--include/linux/raid5.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/raid5.h b/include/linux/raid5.h
index 5efd211a2..655d41d54 100644
--- a/include/linux/raid5.h
+++ b/include/linux/raid5.h
@@ -35,7 +35,7 @@ struct stripe_head {
int count; /* nr of waiters */
int write_method; /* reconstruct-write / read-modify-write */
int phase; /* PHASE_BEGIN, ..., PHASE_COMPLETE */
- struct wait_queue *wait; /* processes waiting for this stripe */
+ wait_queue_head_t wait; /* processes waiting for this stripe */
};
/*
@@ -94,7 +94,7 @@ struct raid5_data {
*/
int nr_free_sh;
struct stripe_head *free_sh_list;
- struct wait_queue *wait_for_stripe;
+ wait_queue_head_t wait_for_stripe;
};
#endif