iov_iter.c: get rid of bvec_copy_page_{to,from}_iter()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Nov 2014 19:22:37 +0000 (14:22 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Nov 2014 23:44:13 +0000 (18:44 -0500)
commitd271524a3a1da99e3809afaa10903cc2905bc9a7
tree6454f28502bd66195b6cd71afd3c5f00c62c18af
parent8442fa46cf244cd65401f1a5bb830ed420fc1e54
iov_iter.c: get rid of bvec_copy_page_{to,from}_iter()

Just have copy_page_{to,from}_iter() fall back to kmap_atomic +
copy_{to,from}_iter() + kunmap_atomic() in ITER_BVEC case.  As
the matter of fact, that's what we want to do for any iov_iter
kind that isn't blocking - e.g. ITER_KVEC will also go that way
once we recognize it on iov_iter.c primitives level

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/iov_iter.c