summaryrefslogtreecommitdiffstats
path: root/fs/hfs
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/hfs
parent293bc9822fa9b3c9d4b7893bcb241e085580771a (diff)
downloadlinux-stable-aad4f8bb42af06371aa0e85bf0cd9d52c0494985.tar.gz
linux-stable-aad4f8bb42af06371aa0e85bf0cd9d52c0494985.tar.bz2
linux-stable-aad4f8bb42af06371aa0e85bf0cd9d52c0494985.zip
switch simple generic_file_aio_read() users to ->read_iter()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfs')
-rw-r--r--fs/hfs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index f5fb09ebc850..6d4055aff109 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs/inode.c
@@ -674,8 +674,8 @@ static int hfs_file_fsync(struct file *filp, loff_t start, loff_t end,
static const struct file_operations hfs_file_operations = {
.llseek = generic_file_llseek,
- .read = do_sync_read,
- .aio_read = generic_file_aio_read,
+ .read = new_sync_read,
+ .read_iter = generic_file_read_iter,
.write = do_sync_write,
.aio_write = generic_file_aio_write,
.mmap = generic_file_mmap,