fs: implement vfs_iter_read using do_iter_read
authorChristoph Hellwig <hch@lst.de>
Sat, 27 May 2017 08:16:51 +0000 (11:16 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 29 Jun 2017 21:49:23 +0000 (17:49 -0400)
commit18e9710ee59ce3bd2a2512ddcd3f7ceebe8b8d17
treea09b5ebcb9460ad374b798258b8f46dd370cad88
parentedab5fe38c2c17a7d7ea5f82e1d9503bfc79a8ac
fs: implement vfs_iter_read using do_iter_read

De-dupliate some code and allow for passing the flags argument to
vfs_iter_read.  Additional it properly updates atime now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/block/loop.c
drivers/target/target_core_file.c
fs/coda/file.c
fs/read_write.c
include/linux/fs.h