]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - block/bio.c
block: rewrite and split __bio_copy_iov()
authorDongsu Park <dongsu.park@profitbricks.com>
Sun, 18 Jan 2015 15:16:34 +0000 (16:16 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 5 Feb 2015 16:30:44 +0000 (09:30 -0700)
commit9124d3fe21b0947b03f4b87bcfb7acd675d6e85b
treea3d9e26708dab191bdce78a7a794f45971698694
parent37f19e57a0de3c4a3417aa13ff4d04f1e0dee4b3
block: rewrite and split __bio_copy_iov()

Rewrite __bio_copy_iov using the copy_page_{from,to}_iter helpers, and
split it into two simpler functions.

This commit should contain only literal replacements, without
functional changes.

Cc: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dongsu Park <dongsu.park@profitbricks.com>
[hch: removed the __bio_copy_iov wrapper]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/bio.c