Brian King 64b840dd88 [SCSI] ibmvfc: Fix DMA mapping leak on memory allocation failure
There is currently a DMA mapping leak that can occur in the ibmvfc
driver if we fail to allocate a scatterlist. Fix this by unmapping
the scatterlist in the failure path. Additionally, only log an error
for a scatterlist allocation failure if the log level is greater
than the default, since this can occur when running Active Memory
Sharing and this is not considered an error.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-01-25 08:14:53 -06:00
..
2009-01-07 15:48:01 -06:00
2008-12-29 11:24:14 -06:00
2008-11-30 10:03:36 -08:00
2008-12-28 20:00:03 +01:00
2009-01-02 16:12:51 +01:00
2008-10-23 11:42:17 -05:00
2009-01-02 12:02:25 -06:00
2008-10-23 11:42:19 -05:00