aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2
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/nilfs2
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/nilfs2')
-rw-r--r--fs/nilfs2/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nilfs2/file.c b/fs/nilfs2/file.c
index f3a82fbcae02..dcb1b0e8b435 100644
--- a/fs/nilfs2/file.c
+++ b/fs/nilfs2/file.c
@@ -152,9 +152,9 @@ static int nilfs_file_mmap(struct file *file, struct vm_area_struct *vma)
152 */ 152 */
153const struct file_operations nilfs_file_operations = { 153const struct file_operations nilfs_file_operations = {
154 .llseek = generic_file_llseek, 154 .llseek = generic_file_llseek,
155 .read = do_sync_read, 155 .read = new_sync_read,
156 .write = do_sync_write, 156 .write = do_sync_write,
157 .aio_read = generic_file_aio_read, 157 .read_iter = generic_file_read_iter,
158 .aio_write = generic_file_aio_write, 158 .aio_write = generic_file_aio_write,
159 .unlocked_ioctl = nilfs_ioctl, 159 .unlocked_ioctl = nilfs_ioctl,
160#ifdef CONFIG_COMPAT 160#ifdef CONFIG_COMPAT