Fixed data races on manipulation of the srpt_devices list by eliminating
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 6 Aug 2009 10:05:10 +0000 (10:05 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 6 Aug 2009 10:05:10 +0000 (10:05 +0000)
commitea21598b991b2331ff0c2813532ce57424d55107
tree1b691f24cf45781c02786bd6286605e6971c91ba
parent00c62cf335c4e9dabe725cbde86c7de30f31c01f
Fixed data races on manipulation of the srpt_devices list by eliminating
this list. Only the number of IB devices is relevant for the SRPT
implementation. Introduced a new counter that tracks the number of IB
devices.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1016 d57e44dd-8a1f-0410-8b47-8ef2f437770f
srpt/src/ib_srpt.c
srpt/src/ib_srpt.h