diff options
author | Kent Overstreet <koverstreet@google.com> | 2012-09-28 16:17:55 -0400 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-03-23 17:15:27 -0400 |
commit | 054bdf646e36c2f7dc1bf6bc6209dbbb5909164b (patch) | |
tree | acd9989fd9e6f5c6d3c985e34e984081a33cbdc3 /include/linux/bio.h | |
parent | 9f060e2231ca96ca94f2ffcff730acd72606b280 (diff) |
block: Add bio_advance()
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>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r-- | include/linux/bio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 669b1cb18fee..fcb4dba2d8ea 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h | |||
@@ -248,6 +248,8 @@ extern void bio_endio(struct bio *, int); | |||
248 | struct request_queue; | 248 | struct request_queue; |
249 | extern int bio_phys_segments(struct request_queue *, struct bio *); | 249 | extern int bio_phys_segments(struct request_queue *, struct bio *); |
250 | 250 | ||
251 | extern void bio_advance(struct bio *, unsigned); | ||
252 | |||
251 | extern void bio_init(struct bio *); | 253 | extern void bio_init(struct bio *); |
252 | extern void bio_reset(struct bio *); | 254 | extern void bio_reset(struct bio *); |
253 | 255 | ||