[SCSI] pmcraid: fix to avoid twice scsi_dma_unmap for a command
authorAnil Ravindranath <anil_ravindranath@pmc-sierra.com>
Thu, 17 Dec 2009 22:51:53 +0000 (14:51 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 30 Dec 2009 17:53:22 +0000 (11:53 -0600)
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 <James.Bottomley@suse.de>

No differences found