From 7cb9d9568416ab33b7150b141aa87dc4dc7cade8 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 2 Aug 2009 18:45:40 +0000 Subject: [PATCH] Added even more comments. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1002 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srpt/src/ib_srpt.h b/srpt/src/ib_srpt.h index 622c444ea..3ce7ddaa4 100644 --- a/srpt/src/ib_srpt.h +++ b/srpt/src/ib_srpt.h @@ -200,7 +200,10 @@ struct srpt_device { struct srpt_ioctx *ioctx_ring[SRPT_SRQ_SIZE]; /* List node for insertion in the srpt_devices list. */ struct list_head list; - /* List node for insertion in the srpt_rdma_ch::list list. */ + /* + * List node for insertion in the srpt_rdma_ch::list list. + * This list is protected by srpt_device::spinlock. + */ struct list_head rch_list; spinlock_t spinlock; struct srpt_port port[2];