From 159039035013b0bf71a7c308c6ee07e88403debf Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 1 Aug 2010 12:47:00 +0000 Subject: [PATCH] Reordered two fields in struct srpt_rdma_ch. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1900 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srpt/src/ib_srpt.h b/srpt/src/ib_srpt.h index bccd4eef4..264662110 100644 --- a/srpt/src/ib_srpt.h +++ b/srpt/src/ib_srpt.h @@ -239,9 +239,9 @@ enum rdma_ch_state { /** * struct srpt_rdma_ch - RDMA channel. + * @wait_queue: Allows the kernel thread to wait for more work. * @thread: Kernel thread that processes the IB queues associated with * the channel. - * @wait_queue: Allows the kernel thread to wait for more work. * @cm_id: IB CM ID associated with the channel. * @rq_size: IB receive queue size. * @processing_recv_compl: whether or not a receive completion is being @@ -276,8 +276,8 @@ enum rdma_ch_state { * @sess_name: SCST session name. */ struct srpt_rdma_ch { - struct task_struct *thread; wait_queue_head_t wait_queue; + struct task_struct *thread; struct ib_cm_id *cm_id; struct ib_qp *qp; int rq_size;