diff options
author | Christoph Hellwig <hch@lst.de> | 2015-10-03 19:16:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-22 14:43:27 -0700 |
commit | baf19f15c8d54395b338a34004ff1f0c1d7c15e7 (patch) | |
tree | 53cae67ac449f8c67820b5cdb66c2b9d6e207551 /scripts/recordmcount.c | |
parent | a8ef8d4e5bbc5035a1e9789592ca7e8db09c2ea8 (diff) |
3w-9xxx: don't unmap bounce buffered commands
commit 15e3d5a285ab9283136dba34bbf72886d9146706 upstream.
3w controller don't dma map small single SGL entry commands but instead
bounce buffer them. Add a helper to identify these commands and don't
call scsi_dma_unmap for them.
Based on an earlier patch from James Bottomley.
Fixes: 118c85 ("3w-9xxx: fix command completion race")
Reported-by: Tóth Attila <atoth@atoth.sote.hu>
Tested-by: Tóth Attila <atoth@atoth.sote.hu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions