From: Brian King Date: Thu, 22 Jan 2009 21:45:38 +0000 (-0600) Subject: [SCSI] ibmvfc: Fix DMA mapping leak on memory allocation failure X-Git-Tag: v2.6.29-rc3~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64b840dd88eb2054f86c72ed6d989cb8681f0058;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed