diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-02 14:33:16 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-05-06 17:37:55 -0400 |
commit | aad4f8bb42af06371aa0e85bf0cd9d52c0494985 (patch) | |
tree | 8ac28ca7ea6f4676d10cde8e7f148ebe42237f39 /fs/logfs | |
parent | 293bc9822fa9b3c9d4b7893bcb241e085580771a (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/logfs')
-rw-r--r-- | fs/logfs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/logfs/file.c b/fs/logfs/file.c index 57914fc32b62..1ca8026dc664 100644 --- a/fs/logfs/file.c +++ b/fs/logfs/file.c | |||
@@ -264,14 +264,14 @@ const struct inode_operations logfs_reg_iops = { | |||
264 | }; | 264 | }; |
265 | 265 | ||
266 | const struct file_operations logfs_reg_fops = { | 266 | const struct file_operations logfs_reg_fops = { |
267 | .aio_read = generic_file_aio_read, | 267 | .read_iter = generic_file_read_iter, |
268 | .aio_write = generic_file_aio_write, | 268 | .aio_write = generic_file_aio_write, |
269 | .fsync = logfs_fsync, | 269 | .fsync = logfs_fsync, |
270 | .unlocked_ioctl = logfs_ioctl, | 270 | .unlocked_ioctl = logfs_ioctl, |
271 | .llseek = generic_file_llseek, | 271 | .llseek = generic_file_llseek, |
272 | .mmap = generic_file_readonly_mmap, | 272 | .mmap = generic_file_readonly_mmap, |
273 | .open = generic_file_open, | 273 | .open = generic_file_open, |
274 | .read = do_sync_read, | 274 | .read = new_sync_read, |
275 | .write = do_sync_write, | 275 | .write = do_sync_write, |
276 | }; | 276 | }; |
277 | 277 | ||