block: Add bio_copy_data()
authorKent Overstreet <koverstreet@google.com>
Mon, 10 Sep 2012 20:57:51 +0000 (13:57 -0700)
committerKent Overstreet <koverstreet@google.com>
Sat, 23 Mar 2013 21:15:37 +0000 (14:15 -0700)
commit16ac3d63e74f3d6e34e42d6e523b6a61de0020f0
tree08bfffad2ccf0b67d704588ff14f9e5227ed0e7d
parentb783863f68c26c5411c50002f98a047a40b94e8e
block: Add bio_copy_data()

This gets open coded quite a bit and it's tricky to get right, so make a
generic version and convert some existing users over to it instead.

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