RDMA/amso1100: Initialize the wait_queue_head_t in the c2_qp structure
authorTom Tucker <tom@opengridcomputing.com>
Tue, 24 Jul 2007 19:31:52 +0000 (14:31 -0500)
committerRoland Dreier <rolandd@cisco.com>
Sat, 28 Jul 2007 15:06:40 +0000 (08:06 -0700)
commit4e8e6ee380c3858151165d7455b4954782f145a0
tree6f774551bd13751cf3d5cad99e9c7b9558bd1b31
parent1e4dcd22efa7d24f637ab2ea3a77dd65774eb005
RDMA/amso1100: Initialize the wait_queue_head_t in the c2_qp structure

Fix a crash if the driver has to wait for a QP reference to be dropped
when destroying the QP.

Signed-off-by: Ethan Burns <eaburns@iol.unh.edu>
Acked-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/amso1100/c2_qp.c