X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;ds=sidebyside;f=fs%2Fromfs%2Fmmap-nommu.c;h=ea06c7554860d7ada89db9ba0a8838e17b40d3fc;hb=28e48f0e262fd94a613613d06ac5eaf6745b18a8;hp=f373bde8f545da481ba0a7caa873271dd599b30d;hpb=899dd388853071f5c8848545209d4e2c5d95b1d9;p=karo-tx-linux.git 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,