]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] zfcp: Return -ENOMEM for allocation failures in zfcp_fsf
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Mon, 13 Jul 2009 13:06:04 +0000 (15:06 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 30 Jul 2009 13:49:55 +0000 (08:49 -0500)
commitecea1f7293f0a657663c16da0a0023e9db170976
treeefb3b8ff2da7fc3a38b967441756d88631730dc3
parent059a1a17d990f0dae51a98b33482a96255b4af02
[SCSI] zfcp: Return -ENOMEM for allocation failures in zfcp_fsf

When a fsf_req or a qtcb cannot be allocated return -ENOMEM instead of
-EIO.

Reviewed-by: Swen Schillig <swen@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