summaryrefslogtreecommitdiffstats
path: root/fs/coda
diff options
context:
space:
mode:
authorChristoph Hellwig2017-05-27 10:16:51 +0200
committerAl Viro2017-06-29 23:49:23 +0200
commit18e9710ee59ce3bd2a2512ddcd3f7ceebe8b8d17 (patch)
treea09b5ebcb9460ad374b798258b8f46dd370cad88 /fs/coda
parentfs: move more code into do_iter_read/do_iter_write (diff)
downloadkernel-qcow2-linux-18e9710ee59ce3bd2a2512ddcd3f7ceebe8b8d17.tar.gz
kernel-qcow2-linux-18e9710ee59ce3bd2a2512ddcd3f7ceebe8b8d17.tar.xz
kernel-qcow2-linux-18e9710ee59ce3bd2a2512ddcd3f7ceebe8b8d17.zip
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>
Diffstat (limited to 'fs/coda')
-rw-r--r--fs/coda/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/file.c b/fs/coda/file.c
index 9d956cd6d46f..f1102822bcfd 100644
--- a/fs/coda/file.c
+++ b/fs/coda/file.c
@@ -34,7 +34,7 @@ coda_file_read_iter(struct kiocb *iocb, struct iov_iter *to)
BUG_ON(!cfi || cfi->cfi_magic != CODA_MAGIC);
- return vfs_iter_read(cfi->cfi_container, to, &iocb->ki_pos);
+ return vfs_iter_read(cfi->cfi_container, to, &iocb->ki_pos, 0);
}
static ssize_t