]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] zfcp: Dont call zfcp_fsf_req_free on NULL pointer
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Fri, 17 Apr 2009 13:08:03 +0000 (15:08 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:07:25 +0000 (10:07 -0500)
commitada81b748b768eb5b75567fd1db5e87ba5c98bf0
tree6bc538ce5f1b7ba1da6514f68ecabef455f3cdc3
parent306b6edcdd7b6cc5fee50d48fc398201fa3df841
[SCSI] zfcp: Dont call zfcp_fsf_req_free on NULL pointer

Fix problem that zfcp_fsf_exchange_config_data_sync and
zfcp_fsf_exchange_config_data_sync could try to call zfcp_fsf_req_free
with a NULL pointer.

Reviewed-by: Martin Petermann <martin@linux.vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fsf.c