patch-2.3.1 linux/include/linux/raid5.h

Next file: linux/include/linux/rtnetlink.h
Previous file: linux/include/linux/quota.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/include/linux/raid5.h linux/include/linux/raid5.h
@@ -35,7 +35,7 @@
 	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 @@
 	 */
 	int			nr_free_sh;
 	struct stripe_head	*free_sh_list;
-	struct wait_queue	*wait_for_stripe;
+	wait_queue_head_t	wait_for_stripe;
 };
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)