block: Add bio_advance()
authorKent Overstreet <koverstreet@google.com>
Fri, 28 Sep 2012 20:17:55 +0000 (13:17 -0700)
committerKent Overstreet <koverstreet@google.com>
Sat, 23 Mar 2013 21:15:27 +0000 (14:15 -0700)
This is prep work for immutable bio vecs; we first want to centralize
where bvecs are modified.

Next two patches convert some existing code to use this function.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
fs/bio.c
include/linux/bio.h
include/linux/blk_types.h

diff --cc fs/bio.c
Simple merge
Simple merge
Simple merge