[SCSI] be2iscsi: Fix for freeing cid
authorJayamohan Kallickal <jayamohank@serverengines.com>
Wed, 21 Jul 2010 22:52:27 +0000 (04:22 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:05:31 +0000 (09:05 -0500)
This patch frees up the allocated cid and returns error if allocation
of tag fails.

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found