orangefs: make pvfs2_inode_read() take iov_iter
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 8 Oct 2015 22:31:05 +0000 (18:31 -0400)
committerMike Marshall <hubcap@omnibond.com>
Fri, 13 Nov 2015 16:36:31 +0000 (11:36 -0500)
commit74f68fce2a395a188d454a488ea167affa4d7cf5
tree75924016acaf0b4c5751231407b819549a53c1d6
parent0071ed1ec663fa87a3a8ae18f6d0812db010a343
orangefs: make pvfs2_inode_read() take iov_iter

... and make the only caller use page-backed iov_iter,
getting rid of kmap/kunmap *and* of the bug with
attempted use of iovec-backed copy_page_to_iter()
on a kernel pointer.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/file.c
fs/orangefs/inode.c
fs/orangefs/pvfs2-kernel.h