new helper: generic_file_read_iter()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 6 Mar 2014 03:53:04 +0000 (22:53 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 6 May 2014 21:32:49 +0000 (17:32 -0400)
commited978a811ec528dbe40243605c3afab55892f722
tree7b8b83a755286192b98bb7921fa4d6957709216e
parent23faa7b8db9be0be4f158cfc558460bb95d9b245
new helper: generic_file_read_iter()

iov_iter-using variant of generic_file_aio_read().  Some callers
converted.  Note that it's still not quite there for use as ->read_iter() -
we depend on having zero iter->iov_offset in O_DIRECT case.  Fortunately,
that's true for all converted callers (and for generic_file_aio_read() itself).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ceph/file.c
fs/nfs/file.c
include/linux/fs.h
mm/filemap.c