]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] bnx2fc: scsi_dma_unmap() not invoked on IO completions
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Fri, 27 May 2011 18:47:26 +0000 (11:47 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Jun 2011 15:58:04 +0000 (10:58 -0500)
commitb5a95fe7ef464a67fab6ff870aa740739e788f90
treef9fe9ca0d8aeade956a16050f4ee1dd79f6ce170
parenta4dc08cecfdb3172be61227324a4d2c5fe2de9e5
[SCSI] bnx2fc: scsi_dma_unmap() not invoked on IO completions

Do not set io_req->sc_cmd to NULL until bnx2fc_unmap_sg_list() is called to
enable it to unmap the DMA mappings.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_io.c