iov_iter: get rid of separate bvec and xarray callbacks
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 27 Apr 2021 00:50:05 +0000 (20:50 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 10 Jun 2021 15:45:18 +0000 (11:45 -0400)
commit21b56c84775351ac66354c9b09fb429e5cdeceac
tree476088c8ed3070a3e9860d925ab44ab5b9023849
parent1b4fb5ffd79bac27a7b9beda63c827c7d7457c45
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: Al Viro <viro@zeniv.linux.org.uk>
lib/iov_iter.c