commit | 3f89f834497c0f37f16a3b6c32b1d60782facbca | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Wed Mar 29 09:36:45 2006 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Mar 29 09:36:45 2006 -0800 |
tree | 4a27d2b5ed847fd90678d3e7758fe08b493426e1 | |
parent | e71ac6032edf77a1e4a81f3e3b260807e94b37a5 [diff] |
IB/srp: Fix unmapping of fake scatterlist The recently merged patch to create a fake scatterlist for non-SG SCSI commands had a bug: the driver ended up doing dma_unmap_sg() on a scatterlist scmnd->request_buffer rather than the fake scatter list it created. Fix this so that the driver unmaps the same thing it maps. Signed-off-by: Roland Dreier <rolandd@cisco.com>