diff options
author | Al Viro | 2014-04-02 20:33:16 +0200 |
---|---|---|
committer | Al Viro | 2014-05-06 23:37:55 +0200 |
commit | aad4f8bb42af06371aa0e85bf0cd9d52c0494985 (patch) | |
tree | 8ac28ca7ea6f4676d10cde8e7f148ebe42237f39 /fs/romfs | |
parent | new methods: ->read_iter() and ->write_iter() (diff) | |
download | kernel-qcow2-linux-aad4f8bb42af06371aa0e85bf0cd9d52c0494985.tar.gz kernel-qcow2-linux-aad4f8bb42af06371aa0e85bf0cd9d52c0494985.tar.xz kernel-qcow2-linux-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/romfs')
-rw-r--r-- | fs/romfs/mmap-nommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/romfs/mmap-nommu.c b/fs/romfs/mmap-nommu.c index f373bde8f545..ea06c7554860 100644 --- a/fs/romfs/mmap-nommu.c +++ b/fs/romfs/mmap-nommu.c @@ -72,8 +72,8 @@ static int romfs_mmap(struct file *file, struct vm_area_struct *vma) const struct file_operations romfs_ro_fops = { .llseek = generic_file_llseek, - .read = do_sync_read, - .aio_read = generic_file_aio_read, + .read = new_sync_read, + .read_iter = generic_file_read_iter, .splice_read = generic_file_splice_read, .mmap = romfs_mmap, .get_unmapped_area = romfs_get_unmapped_area, |