summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-04-03 02:14:12 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2014-05-06 23:37:59 +0200
commit3aa2d199f8eb8149a88005e88736d583cbc39d31 (patch)
tree21d0a81d243152141bfc792b333fa629ec6f75fa /fs/nfs/nfs4file.c
parentfs/block_dev.c: switch to ->read_iter() (diff)
downloadlinux-3aa2d199f8eb8149a88005e88736d583cbc39d31.tar.xz
linux-3aa2d199f8eb8149a88005e88736d583cbc39d31.zip
nfs: switch to ->read_iter()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-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,