]> git.karo-electronics.de Git - karo-tx-linux.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)
commitc8db444820a1e37ebdca38a0210bca85f832214f
tree88d5e301acb94b7cb43b74e10a5d9d2d484696fa
parent1c3b13e64cf70d652fb04e32d13ae3e36810c2e4
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