aboutsummaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-04-02 14:33:16 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-05-06 17:37:55 -0400
commitaad4f8bb42af06371aa0e85bf0cd9d52c0494985 (patch)
tree8ac28ca7ea6f4676d10cde8e7f148ebe42237f39 /fs/read_write.c
parent293bc9822fa9b3c9d4b7893bcb241e085580771a (diff)
switch simple generic_file_aio_read() users to ->read_iter()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/read_write.c')
-rw-r--r--fs/read_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/read_write.c b/fs/read_write.c
index fe2f9d5e3536..009d8542a889 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -29,8 +29,8 @@ typedef ssize_t (*iter_fn_t)(struct kiocb *, struct iov_iter *);
29 29
30const struct file_operations generic_ro_fops = { 30const struct file_operations generic_ro_fops = {
31 .llseek = generic_file_llseek, 31 .llseek = generic_file_llseek,
32 .read = do_sync_read, 32 .read = new_sync_read,
33 .aio_read = generic_file_aio_read, 33 .read_iter = generic_file_read_iter,
34 .mmap = generic_file_readonly_mmap, 34 .mmap = generic_file_readonly_mmap,
35 .splice_read = generic_file_splice_read, 35 .splice_read = generic_file_splice_read,
36}; 36};