[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)
commit1f92638f074f7c6776fb2b565f252573f2b5488c
tree4ae5df807024bf2e4dd46c28f0f9fc744e3d4880
parentf5ed7bd4c6ca5fcec77d3007779d38f63cbb95f4
[SCSI] be2iscsi: Fix for freeing cid

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>
drivers/scsi/be2iscsi/be_iscsi.c