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/ramfs/file-nommu.c | |
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/ramfs/file-nommu.c')
-rw-r--r-- | fs/ramfs/file-nommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ramfs/file-nommu.c b/fs/ramfs/file-nommu.c index 0b3d8e4cb2fa..416db04f8464 100644 --- a/fs/ramfs/file-nommu.c +++ b/fs/ramfs/file-nommu.c | |||
@@ -37,8 +37,8 @@ static int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma); | |||
37 | const struct file_operations ramfs_file_operations = { | 37 | const struct file_operations ramfs_file_operations = { |
38 | .mmap = ramfs_nommu_mmap, | 38 | .mmap = ramfs_nommu_mmap, |
39 | .get_unmapped_area = ramfs_nommu_get_unmapped_area, | 39 | .get_unmapped_area = ramfs_nommu_get_unmapped_area, |
40 | .read = do_sync_read, | 40 | .read = new_sync_read, |
41 | .aio_read = generic_file_aio_read, | 41 | .read_iter = generic_file_read_iter, |
42 | .write = do_sync_write, | 42 | .write = do_sync_write, |
43 | .aio_write = generic_file_aio_write, | 43 | .aio_write = generic_file_aio_write, |
44 | .fsync = noop_fsync, | 44 | .fsync = noop_fsync, |