From: Anil Ravindranath Date: Thu, 17 Dec 2009 22:51:53 +0000 (-0800) Subject: [SCSI] pmcraid: fix to avoid twice scsi_dma_unmap for a command X-Git-Tag: v2.6.33-rc4~82^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a70757ba9a3719f99760713c3b72134b21016c6e;p=pandora-kernel.git [SCSI] pmcraid: fix to avoid twice scsi_dma_unmap for a command For a particular driver error condition, driver was doing double scsi_dma_unmaps. Driver was calling scsi_dma_unmap in pmcraid_error_handler and return 0. This pmcraid_error_handler is called by pmcraid_io_done which will do scsi_dma_unmap again when it has return 0 from pmcraid_error_handler. Signed-off-by: James Bottomley --- Reading git-diff-tree failed