diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-11-24 05:26:46 +0400 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-24 10:33:53 +0400 |
commit | bdb53207411ae39b8a80dda0a66d1b468cbe1380 (patch) | |
tree | ba0473f17eb5a6ee399b2e0ce0c9e0289fa10d6c /kernel/irq | |
parent | f619d25460473788944e3b71b030398681e8809b (diff) | |
download | linux-bdb53207411ae39b8a80dda0a66d1b468cbe1380.tar.xz |
block: Refactor bio_clone_bioset() for immutable biovecs
bio_clone() needs to produce a bio that's suitable for the caller to
munge with the biovec. Part of the immutable biovec patch series is
fixing stuff up so that submitting partially completed bios is safe and
works: thus, we now need bio_clone() on a partially completed bio to
produce a bio for which bi_idx and bi_bvec done are 0 - like they would
be if the caller had just allocated a new bio.
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions