]> git.baikalelectronics.ru Git - kernel.git/commit
block: Don't save/copy bvec array anymore
authorKent Overstreet <kmo@daterainc.com>
Sat, 23 Nov 2013 03:39:06 +0000 (19:39 -0800)
committerKent Overstreet <kmo@daterainc.com>
Sun, 24 Nov 2013 06:33:55 +0000 (22:33 -0800)
commit89710b33015e97be70ed5799d1ebd371517e2564
tree88d5e301acb94b7cb43b74e10a5d9d2d484696fa
parentbf501f87cb9cf74f0447569cf2d0e227ab7994cb
block: Don't save/copy bvec array anymore

Now that drivers have been converted to the bvec_iter primitives, they
shouldn't be modifying the biovec anymore and thus saving it is
unnecessary - code that was previously making a backup of the bvec array
can now just save bio->bi_iter.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
fs/bio.c