summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-04-02 20:14:12 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-05-06 17:37:59 -0400
commit3aa2d199f8eb8149a88005e88736d583cbc39d31 (patch)
tree21d0a81d243152141bfc792b333fa629ec6f75fa /fs/nfs/nfs4file.c
parenta886038baa48a17f2cf77fb5dcc204fd28659d8f (diff)
downloadtalos-obmc-linux-3aa2d199f8eb8149a88005e88736d583cbc39d31.tar.gz
talos-obmc-linux-3aa2d199f8eb8149a88005e88736d583cbc39d31.zip
nfs: switch to ->read_iter()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs/nfs4file.c')
-rw-r--r--fs/nfs/nfs4file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4file.c b/fs/nfs/nfs4file.c
index 8de3407e0360..37a998cae963 100644
--- a/fs/nfs/nfs4file.c
+++ b/fs/nfs/nfs4file.c
@@ -118,9 +118,9 @@ nfs4_file_fsync(struct file *file, loff_t start, loff_t end, int datasync)
const struct file_operations nfs4_file_operations = {
.llseek = nfs_file_llseek,
- .read = do_sync_read,
+ .read = new_sync_read,
.write = do_sync_write,
- .aio_read = nfs_file_read,
+ .read_iter = nfs_file_read,
.aio_write = nfs_file_write,
.mmap = nfs_file_mmap,
.open = nfs4_file_open,
OpenPOWER on IntegriCloud