Skip to content
Commit 21b56c84 authored by Al Viro's avatar Al Viro
Browse files

iov_iter: get rid of separate bvec and xarray callbacks



After the previous commit we have
	* xarray and bvec callbacks idential in all cases
	* both equivalent to kvec callback wrapped into
kmap_local_page()/kunmap_local() pair.

So we can pass only two (iovec and kvec) callbacks to
iterate_and_advance() and let iterate_{bvec,xarray} wrap
it into kmap_local_page()/kunmap_local_page().

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1b4fb5ff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment