diff options
Diffstat (limited to 'fs/nfs/nfs4file.c')
-rw-r--r-- | fs/nfs/nfs4file.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/nfs/nfs4file.c b/fs/nfs/nfs4file.c index 464db9dd6318..a816f0627a6c 100644 --- a/fs/nfs/nfs4file.c +++ b/fs/nfs/nfs4file.c | |||
@@ -117,10 +117,10 @@ nfs4_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) | |||
117 | 117 | ||
118 | const struct file_operations nfs4_file_operations = { | 118 | const struct file_operations nfs4_file_operations = { |
119 | .llseek = nfs_file_llseek, | 119 | .llseek = nfs_file_llseek, |
120 | .read = do_sync_read, | 120 | .read = new_sync_read, |
121 | .write = do_sync_write, | 121 | .write = new_sync_write, |
122 | .aio_read = nfs_file_read, | 122 | .read_iter = nfs_file_read, |
123 | .aio_write = nfs_file_write, | 123 | .write_iter = nfs_file_write, |
124 | .mmap = nfs_file_mmap, | 124 | .mmap = nfs_file_mmap, |
125 | .open = nfs4_file_open, | 125 | .open = nfs4_file_open, |
126 | .flush = nfs_file_flush, | 126 | .flush = nfs_file_flush, |
@@ -129,7 +129,7 @@ const struct file_operations nfs4_file_operations = { | |||
129 | .lock = nfs_lock, | 129 | .lock = nfs_lock, |
130 | .flock = nfs_flock, | 130 | .flock = nfs_flock, |
131 | .splice_read = nfs_file_splice_read, | 131 | .splice_read = nfs_file_splice_read, |
132 | .splice_write = nfs_file_splice_write, | 132 | .splice_write = iter_file_splice_write, |
133 | .check_flags = nfs_check_flags, | 133 | .check_flags = nfs_check_flags, |
134 | .setlease = nfs_setlease, | 134 | .setlease = nfs_setlease, |
135 | }; | 135 | }; |