[SCSI] zfcp: Prevent usage w/o holding a reference
authorSwen Schillig <swen@vnet.ibm.com>
Wed, 17 Nov 2010 13:23:43 +0000 (14:23 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 9 Dec 2010 15:41:21 +0000 (09:41 -0600)
The ERP got values assigned for which no reference was taken.  This
can lead to an unpredictable race condition.  Fix this by only
assigning the values which are required and for which a reference was
pulled or is held implicitly.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found