swiotlb: fix map_sg failure handling
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Wed, 17 Oct 2007 08:06:18 +0000 (10:06 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 17 Oct 2007 08:06:18 +0000 (10:06 +0200)
commit9e91fdb32d449a6b57f8236a793ae2f3df79b4d8
treea375e906206970bbd09b6d0b91138d1f66cc7de5
parent24c31eede658c30e4fcc93505589fd519c3aa4b8
swiotlb: fix map_sg failure handling

sg list elements might not be continuous.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
lib/swiotlb.c