[BLOCK] blk_rq_map_sg() next_sg fixup
authorJens Axboe <jens.axboe@oracle.com>
Wed, 17 Oct 2007 17:34:11 +0000 (19:34 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 17 Oct 2007 17:34:11 +0000 (19:34 +0200)
commitba951841ceb7fa5b06ad48caa5270cc2ae17941e
treefda194f4506fb2af93895d3aac1902051678e8e0
parenta3bec5c5aea0da263111c4d8f8eabc1f8560d7bf
[BLOCK] blk_rq_map_sg() next_sg fixup

Don't ever use sg_next() on the last entry, it may not be valid!

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/ll_rw_blk.c