diff options
| author | FUJITA Tomonori <[email protected]> | 2007-10-26 11:56:24 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2007-10-29 08:18:03 +0000 |
| commit | 5336940dd8b11180a0340ba886db62f728377d19 (patch) | |
| tree | b382a134c814c6067adecc6522a2b90092ab5b03 /fs/proc/array.c | |
| parent | SG: s390-scsi: missing size parameter in zfcp_address_to_sg() (diff) | |
| download | kernel-5336940dd8b11180a0340ba886db62f728377d19.tar.gz kernel-5336940dd8b11180a0340ba886db62f728377d19.zip | |
x86: fix pci-gart failure handling
blk_rq_map_sg doesn't initialize sg->dma_address/length to zero
anymore. Some low level drivers reuse sg lists without initializing so
IOMMUs might get non-zero dma_address/length. If map_sg fails, we need
pass the number of the mapped entries to gart_unmap_sg.
Signed-off-by: FUJITA Tomonori <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
