scatterlist: introduce sg_unmark_end
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Mar 2013 05:07:08 +0000 (15:37 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Mar 2013 05:13:04 +0000 (15:43 +1030)
This is useful in places that recycle the same scatterlist multiple
times, and do not want to incur the cost of sg_init_table every
time in hot paths.

Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
block/blk-integrity.c
block/blk-merge.c
include/linux/scatterlist.h

Simple merge
Simple merge
Simple merge