switch simple generic_file_aio_read() users to ->read_iter()

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2014-04-02 14:33:16 -04:00
commit aad4f8bb42
35 changed files with 75 additions and 75 deletions

View file

@ -31,8 +31,8 @@
#include "internal.h"
const struct file_operations ramfs_file_operations = {
.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,

View file

@ -37,8 +37,8 @@ static int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma);
const struct file_operations ramfs_file_operations = {
.mmap = ramfs_nommu_mmap,
.get_unmapped_area = ramfs_nommu_get_unmapped_area,
.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,
.fsync = noop_fsync,