aboutsummaryrefslogtreecommitdiffstats
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
parent293bc9822fa9b3c9d4b7893bcb241e085580771a (diff)
switch simple generic_file_aio_read() users to ->read_iter()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--drivers/char/raw.c4
-rw-r--r--fs/9p/vfs_file.c6
-rw-r--r--fs/adfs/file.c4
-rw-r--r--fs/affs/file.c4
-rw-r--r--fs/afs/file.c4
-rw-r--r--fs/bfs/file.c4
-rw-r--r--fs/btrfs/file.c4
-rw-r--r--fs/cifs/cifsfs.c8
-rw-r--r--fs/exofs/file.c4
-rw-r--r--fs/ext2/file.c4
-rw-r--r--fs/ext3/file.c4
-rw-r--r--fs/ext4/file.c4
-rw-r--r--fs/f2fs/file.c4
-rw-r--r--fs/fat/file.c4
-rw-r--r--fs/gfs2/file.c8
-rw-r--r--fs/hfs/inode.c4
-rw-r--r--fs/hfsplus/inode.c4
-rw-r--r--fs/hostfs/hostfs_kern.c4
-rw-r--r--fs/hpfs/file.c4
-rw-r--r--fs/jffs2/file.c4
-rw-r--r--fs/jfs/file.c4
-rw-r--r--fs/logfs/file.c4
-rw-r--r--fs/minix/file.c4
-rw-r--r--fs/nilfs2/file.c4
-rw-r--r--fs/ntfs/file.c4
-rw-r--r--fs/omfs/file.c4
-rw-r--r--fs/ramfs/file-mmu.c4
-rw-r--r--fs/ramfs/file-nommu.c4
-rw-r--r--fs/read_write.c4
-rw-r--r--fs/reiserfs/file.c4
-rw-r--r--fs/romfs/mmap-nommu.c4
-rw-r--r--fs/sysv/file.c4
-rw-r--r--fs/ubifs/file.c4
-rw-r--r--fs/udf/file.c4
-rw-r--r--fs/ufs/file.c4
35 files changed, 75 insertions, 75 deletions
diff --git a/drivers/char/raw.c b/drivers/char/raw.c
index 6e8d65e9b1d3..cfb607a64b85 100644
--- a/drivers/char/raw.c
+++ b/drivers/char/raw.c
@@ -284,8 +284,8 @@ static long raw_ctl_compat_ioctl(struct file *file, unsigned int cmd,
284#endif 284#endif
285 285
286static const struct file_operations raw_fops = { 286static const struct file_operations raw_fops = {
287 .read = do_sync_read, 287 .read = new_sync_read,
288 .aio_read = generic_file_aio_read, 288 .read_iter = generic_file_read_iter,
289 .write = do_sync_write, 289 .write = do_sync_write,
290 .aio_write = blkdev_aio_write, 290 .aio_write = blkdev_aio_write,
291 .fsync = blkdev_fsync, 291 .fsync = blkdev_fsync,
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c
index d8223209d4b1..47e0597d1e9b 100644
--- a/fs/9p/vfs_file.c
+++ b/fs/9p/vfs_file.c
@@ -695,7 +695,7 @@ v9fs_cached_file_read(struct file *filp, char __user *data, size_t count,
695{ 695{
696 if (filp->f_flags & O_DIRECT) 696 if (filp->f_flags & O_DIRECT)
697 return v9fs_direct_read(filp, data, count, offset); 697 return v9fs_direct_read(filp, data, count, offset);
698 return do_sync_read(filp, data, count, offset); 698 return new_sync_read(filp, data, count, offset);
699} 699}
700 700
701/** 701/**
@@ -850,7 +850,7 @@ const struct file_operations v9fs_cached_file_operations = {
850 .llseek = generic_file_llseek, 850 .llseek = generic_file_llseek,
851 .read = v9fs_cached_file_read, 851 .read = v9fs_cached_file_read,
852 .write = v9fs_cached_file_write, 852 .write = v9fs_cached_file_write,
853 .aio_read = generic_file_aio_read, 853 .read_iter = generic_file_read_iter,
854 .aio_write = generic_file_aio_write, 854 .aio_write = generic_file_aio_write,
855 .open = v9fs_file_open, 855 .open = v9fs_file_open,
856 .release = v9fs_dir_release, 856 .release = v9fs_dir_release,
@@ -863,7 +863,7 @@ const struct file_operations v9fs_cached_file_operations_dotl = {
863 .llseek = generic_file_llseek, 863 .llseek = generic_file_llseek,
864 .read = v9fs_cached_file_read, 864 .read = v9fs_cached_file_read,
865 .write = v9fs_cached_file_write, 865 .write = v9fs_cached_file_write,
866 .aio_read = generic_file_aio_read, 866 .read_iter = generic_file_read_iter,
867 .aio_write = generic_file_aio_write, 867 .aio_write = generic_file_aio_write,
868 .open = v9fs_file_open, 868 .open = v9fs_file_open,
869 .release = v9fs_dir_release, 869 .release = v9fs_dir_release,
diff --git a/fs/adfs/file.c b/fs/adfs/file.c
index a36da5382b40..3bfc9efa29b4 100644
--- a/fs/adfs/file.c
+++ b/fs/adfs/file.c
@@ -23,8 +23,8 @@
23 23
24const struct file_operations adfs_file_operations = { 24const struct file_operations adfs_file_operations = {
25 .llseek = generic_file_llseek, 25 .llseek = generic_file_llseek,
26 .read = do_sync_read, 26 .read = new_sync_read,
27 .aio_read = generic_file_aio_read, 27 .read_iter = generic_file_read_iter,
28 .mmap = generic_file_mmap, 28 .mmap = generic_file_mmap,
29 .fsync = generic_file_fsync, 29 .fsync = generic_file_fsync,
30 .write = do_sync_write, 30 .write = do_sync_write,
diff --git a/fs/affs/file.c b/fs/affs/file.c
index 8669b6ecddee..982853f17afc 100644
--- a/fs/affs/file.c
+++ b/fs/affs/file.c
@@ -27,8 +27,8 @@ static int affs_file_release(struct inode *inode, struct file *filp);
27 27
28const struct file_operations affs_file_operations = { 28const struct file_operations affs_file_operations = {
29 .llseek = generic_file_llseek, 29 .llseek = generic_file_llseek,
30 .read = do_sync_read, 30 .read = new_sync_read,
31 .aio_read = generic_file_aio_read, 31 .read_iter = generic_file_read_iter,
32 .write = do_sync_write, 32 .write = do_sync_write,
33 .aio_write = generic_file_aio_write, 33 .aio_write = generic_file_aio_write,
34 .mmap = generic_file_mmap, 34 .mmap = generic_file_mmap,
diff --git a/fs/afs/file.c b/fs/afs/file.c
index 66d50fe2ee45..26fd19bfccc3 100644
--- a/fs/afs/file.c
+++ b/fs/afs/file.c
@@ -31,9 +31,9 @@ const struct file_operations afs_file_operations = {
31 .open = afs_open, 31 .open = afs_open,
32 .release = afs_release, 32 .release = afs_release,
33 .llseek = generic_file_llseek, 33 .llseek = generic_file_llseek,
34 .read = do_sync_read, 34 .read = new_sync_read,
35 .write = do_sync_write, 35 .write = do_sync_write,
36 .aio_read = generic_file_aio_read, 36 .read_iter = generic_file_read_iter,
37 .aio_write = afs_file_write, 37 .aio_write = afs_file_write,
38 .mmap = generic_file_readonly_mmap, 38 .mmap = generic_file_readonly_mmap,
39 .splice_read = generic_file_splice_read, 39 .splice_read = generic_file_splice_read,
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index ae2892218335..0aa788892f93 100644
--- a/fs/bfs/file.c
+++ b/fs/bfs/file.c
@@ -23,8 +23,8 @@
23 23
24const struct file_operations bfs_file_operations = { 24const struct file_operations bfs_file_operations = {
25 .llseek = generic_file_llseek, 25 .llseek = generic_file_llseek,
26 .read = do_sync_read, 26 .read = new_sync_read,
27 .aio_read = generic_file_aio_read, 27 .read_iter = generic_file_read_iter,
28 .write = do_sync_write, 28 .write = do_sync_write,
29 .aio_write = generic_file_aio_write, 29 .aio_write = generic_file_aio_write,
30 .mmap = generic_file_mmap, 30 .mmap = generic_file_mmap,
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index ea63a51c148c..39014d5db9d5 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -2622,9 +2622,9 @@ out:
2622 2622
2623const struct file_operations btrfs_file_operations = { 2623const struct file_operations btrfs_file_operations = {
2624 .llseek = btrfs_file_llseek, 2624 .llseek = btrfs_file_llseek,
2625 .read = do_sync_read, 2625 .read = new_sync_read,
2626 .write = do_sync_write, 2626 .write = do_sync_write,
2627 .aio_read = generic_file_aio_read, 2627 .read_iter = generic_file_read_iter,
2628 .splice_read = generic_file_splice_read, 2628 .splice_read = generic_file_splice_read,
2629 .aio_write = btrfs_file_aio_write, 2629 .aio_write = btrfs_file_aio_write,
2630 .mmap = btrfs_file_mmap, 2630 .mmap = btrfs_file_mmap,
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 5be1f997ecde..c57a9b16edd4 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -888,9 +888,9 @@ const struct inode_operations cifs_symlink_inode_ops = {
888}; 888};
889 889
890const struct file_operations cifs_file_ops = { 890const struct file_operations cifs_file_ops = {
891 .read = do_sync_read, 891 .read = new_sync_read,
892 .write = do_sync_write, 892 .write = do_sync_write,
893 .aio_read = generic_file_aio_read, 893 .read_iter = generic_file_read_iter,
894 .aio_write = cifs_file_aio_write, 894 .aio_write = cifs_file_aio_write,
895 .open = cifs_open, 895 .open = cifs_open,
896 .release = cifs_close, 896 .release = cifs_close,
@@ -946,9 +946,9 @@ const struct file_operations cifs_file_direct_ops = {
946}; 946};
947 947
948const struct file_operations cifs_file_nobrl_ops = { 948const struct file_operations cifs_file_nobrl_ops = {
949 .read = do_sync_read, 949 .read = new_sync_read,
950 .write = do_sync_write, 950 .write = do_sync_write,
951 .aio_read = generic_file_aio_read, 951 .read_iter = generic_file_read_iter,
952 .aio_write = cifs_file_aio_write, 952 .aio_write = cifs_file_aio_write,
953 .open = cifs_open, 953 .open = cifs_open,
954 .release = cifs_close, 954 .release = cifs_close,
diff --git a/fs/exofs/file.c b/fs/exofs/file.c
index 491c6c078e7f..90d394da7471 100644
--- a/fs/exofs/file.c
+++ b/fs/exofs/file.c
@@ -67,9 +67,9 @@ static int exofs_flush(struct file *file, fl_owner_t id)
67 67
68const struct file_operations exofs_file_operations = { 68const struct file_operations exofs_file_operations = {
69 .llseek = generic_file_llseek, 69 .llseek = generic_file_llseek,
70 .read = do_sync_read, 70 .read = new_sync_read,
71 .write = do_sync_write, 71 .write = do_sync_write,
72 .aio_read = generic_file_aio_read, 72 .read_iter = generic_file_read_iter,
73 .aio_write = generic_file_aio_write, 73 .aio_write = generic_file_aio_write,
74 .mmap = generic_file_mmap, 74 .mmap = generic_file_mmap,
75 .open = generic_file_open, 75 .open = generic_file_open,
diff --git a/fs/ext2/file.c b/fs/ext2/file.c
index 44c36e590765..407305072597 100644
--- a/fs/ext2/file.c
+++ b/fs/ext2/file.c
@@ -62,9 +62,9 @@ int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync)
62 */ 62 */
63const struct file_operations ext2_file_operations = { 63const struct file_operations ext2_file_operations = {
64 .llseek = generic_file_llseek, 64 .llseek = generic_file_llseek,
65 .read = do_sync_read, 65 .read = new_sync_read,
66 .write = do_sync_write, 66 .write = do_sync_write,
67 .aio_read = generic_file_aio_read, 67 .read_iter = generic_file_read_iter,
68 .aio_write = generic_file_aio_write, 68 .aio_write = generic_file_aio_write,
69 .unlocked_ioctl = ext2_ioctl, 69 .unlocked_ioctl = ext2_ioctl,
70#ifdef CONFIG_COMPAT 70#ifdef CONFIG_COMPAT
diff --git a/fs/ext3/file.c b/fs/ext3/file.c
index aad05311392a..5439d2f0141b 100644
--- a/fs/ext3/file.c
+++ b/fs/ext3/file.c
@@ -50,9 +50,9 @@ static int ext3_release_file (struct inode * inode, struct file * filp)
50 50
51const struct file_operations ext3_file_operations = { 51const struct file_operations ext3_file_operations = {
52 .llseek = generic_file_llseek, 52 .llseek = generic_file_llseek,
53 .read = do_sync_read, 53 .read = new_sync_read,
54 .write = do_sync_write, 54 .write = do_sync_write,
55 .aio_read = generic_file_aio_read, 55 .read_iter = generic_file_read_iter,
56 .aio_write = generic_file_aio_write, 56 .aio_write = generic_file_aio_write,
57 .unlocked_ioctl = ext3_ioctl, 57 .unlocked_ioctl = ext3_ioctl,
58#ifdef CONFIG_COMPAT 58#ifdef CONFIG_COMPAT
diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index 063fc1538355..881394280d5f 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -593,9 +593,9 @@ loff_t ext4_llseek(struct file *file, loff_t offset, int whence)
593 593
594const struct file_operations ext4_file_operations = { 594const struct file_operations ext4_file_operations = {
595 .llseek = ext4_llseek, 595 .llseek = ext4_llseek,
596 .read = do_sync_read, 596 .read = new_sync_read,
597 .write = do_sync_write, 597 .write = do_sync_write,
598 .aio_read = generic_file_aio_read, 598 .read_iter = generic_file_read_iter,
599 .aio_write = ext4_file_write, 599 .aio_write = ext4_file_write,
600 .unlocked_ioctl = ext4_ioctl, 600 .unlocked_ioctl = ext4_ioctl,
601#ifdef CONFIG_COMPAT 601#ifdef CONFIG_COMPAT
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 60e7d5448a1d..0e01fb0bc97c 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -679,9 +679,9 @@ long f2fs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
679 679
680const struct file_operations f2fs_file_operations = { 680const struct file_operations f2fs_file_operations = {
681 .llseek = generic_file_llseek, 681 .llseek = generic_file_llseek,
682 .read = do_sync_read, 682 .read = new_sync_read,
683 .write = do_sync_write, 683 .write = do_sync_write,
684 .aio_read = generic_file_aio_read, 684 .read_iter = generic_file_read_iter,
685 .aio_write = generic_file_aio_write, 685 .aio_write = generic_file_aio_write,
686 .open = generic_file_open, 686 .open = generic_file_open,
687 .mmap = f2fs_file_mmap, 687 .mmap = f2fs_file_mmap,
diff --git a/fs/fat/file.c b/fs/fat/file.c
index 9b104f543056..29285e990c90 100644
--- a/fs/fat/file.c
+++ b/fs/fat/file.c
@@ -170,9 +170,9 @@ int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync)
170 170
171const struct file_operations fat_file_operations = { 171const struct file_operations fat_file_operations = {
172 .llseek = generic_file_llseek, 172 .llseek = generic_file_llseek,
173 .read = do_sync_read, 173 .read = new_sync_read,
174 .write = do_sync_write, 174 .write = do_sync_write,
175 .aio_read = generic_file_aio_read, 175 .read_iter = generic_file_read_iter,
176 .aio_write = generic_file_aio_write, 176 .aio_write = generic_file_aio_write,
177 .mmap = generic_file_mmap, 177 .mmap = generic_file_mmap,
178 .release = fat_file_release, 178 .release = fat_file_release,
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c
index 80d67253623c..763c9a6287d2 100644
--- a/fs/gfs2/file.c
+++ b/fs/gfs2/file.c
@@ -1058,8 +1058,8 @@ static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
1058 1058
1059const struct file_operations gfs2_file_fops = { 1059const struct file_operations gfs2_file_fops = {
1060 .llseek = gfs2_llseek, 1060 .llseek = gfs2_llseek,
1061 .read = do_sync_read, 1061 .read = new_sync_read,
1062 .aio_read = generic_file_aio_read, 1062 .read_iter = generic_file_read_iter,
1063 .write = do_sync_write, 1063 .write = do_sync_write,
1064 .aio_write = gfs2_file_aio_write, 1064 .aio_write = gfs2_file_aio_write,
1065 .unlocked_ioctl = gfs2_ioctl, 1065 .unlocked_ioctl = gfs2_ioctl,
@@ -1090,8 +1090,8 @@ const struct file_operations gfs2_dir_fops = {
1090 1090
1091const struct file_operations gfs2_file_fops_nolock = { 1091const struct file_operations gfs2_file_fops_nolock = {
1092 .llseek = gfs2_llseek, 1092 .llseek = gfs2_llseek,
1093 .read = do_sync_read, 1093 .read = new_sync_read,
1094 .aio_read = generic_file_aio_read, 1094 .read_iter = generic_file_read_iter,
1095 .write = do_sync_write, 1095 .write = do_sync_write,
1096 .aio_write = gfs2_file_aio_write, 1096 .aio_write = gfs2_file_aio_write,
1097 .unlocked_ioctl = gfs2_ioctl, 1097 .unlocked_ioctl = gfs2_ioctl,
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index f5fb09ebc850..6d4055aff109 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs/inode.c
@@ -674,8 +674,8 @@ static int hfs_file_fsync(struct file *filp, loff_t start, loff_t end,
674 674
675static const struct file_operations hfs_file_operations = { 675static const struct file_operations hfs_file_operations = {
676 .llseek = generic_file_llseek, 676 .llseek = generic_file_llseek,
677 .read = do_sync_read, 677 .read = new_sync_read,
678 .aio_read = generic_file_aio_read, 678 .read_iter = generic_file_read_iter,
679 .write = do_sync_write, 679 .write = do_sync_write,
680 .aio_write = generic_file_aio_write, 680 .aio_write = generic_file_aio_write,
681 .mmap = generic_file_mmap, 681 .mmap = generic_file_mmap,
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c
index 76b930ff58ae..cccc89e47cb6 100644
--- a/fs/hfsplus/inode.c
+++ b/fs/hfsplus/inode.c
@@ -341,8 +341,8 @@ static const struct inode_operations hfsplus_file_inode_operations = {
341 341
342static const struct file_operations hfsplus_file_operations = { 342static const struct file_operations hfsplus_file_operations = {
343 .llseek = generic_file_llseek, 343 .llseek = generic_file_llseek,
344 .read = do_sync_read, 344 .read = new_sync_read,
345 .aio_read = generic_file_aio_read, 345 .read_iter = generic_file_read_iter,
346 .write = do_sync_write, 346 .write = do_sync_write,
347 .aio_write = generic_file_aio_write, 347 .aio_write = generic_file_aio_write,
348 .mmap = generic_file_mmap, 348 .mmap = generic_file_mmap,
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 9c470fde9878..ce0005d8ffeb 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -378,9 +378,9 @@ static int hostfs_fsync(struct file *file, loff_t start, loff_t end,
378 378
379static const struct file_operations hostfs_file_fops = { 379static const struct file_operations hostfs_file_fops = {
380 .llseek = generic_file_llseek, 380 .llseek = generic_file_llseek,
381 .read = do_sync_read, 381 .read = new_sync_read,
382 .splice_read = generic_file_splice_read, 382 .splice_read = generic_file_splice_read,
383 .aio_read = generic_file_aio_read, 383 .read_iter = generic_file_read_iter,
384 .aio_write = generic_file_aio_write, 384 .aio_write = generic_file_aio_write,
385 .write = do_sync_write, 385 .write = do_sync_write,
386 .mmap = generic_file_mmap, 386 .mmap = generic_file_mmap,
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c
index 67c1a61e0955..bacb478a4990 100644
--- a/fs/hpfs/file.c
+++ b/fs/hpfs/file.c
@@ -197,8 +197,8 @@ const struct address_space_operations hpfs_aops = {
197const struct file_operations hpfs_file_ops = 197const struct file_operations hpfs_file_ops =
198{ 198{
199 .llseek = generic_file_llseek, 199 .llseek = generic_file_llseek,
200 .read = do_sync_read, 200 .read = new_sync_read,
201 .aio_read = generic_file_aio_read, 201 .read_iter = generic_file_read_iter,
202 .write = do_sync_write, 202 .write = do_sync_write,
203 .aio_write = generic_file_aio_write, 203 .aio_write = generic_file_aio_write,
204 .mmap = generic_file_mmap, 204 .mmap = generic_file_mmap,
diff --git a/fs/jffs2/file.c b/fs/jffs2/file.c
index 256cd19a3b78..9192127d591c 100644
--- a/fs/jffs2/file.c
+++ b/fs/jffs2/file.c
@@ -51,8 +51,8 @@ const struct file_operations jffs2_file_operations =
51{ 51{
52 .llseek = generic_file_llseek, 52 .llseek = generic_file_llseek,
53 .open = generic_file_open, 53 .open = generic_file_open,
54 .read = do_sync_read, 54 .read = new_sync_read,
55 .aio_read = generic_file_aio_read, 55 .read_iter = generic_file_read_iter,
56 .write = do_sync_write, 56 .write = do_sync_write,
57 .aio_write = generic_file_aio_write, 57 .aio_write = generic_file_aio_write,
58 .unlocked_ioctl=jffs2_ioctl, 58 .unlocked_ioctl=jffs2_ioctl,
diff --git a/fs/jfs/file.c b/fs/jfs/file.c
index 794da944d5cd..a5d8299b2208 100644
--- a/fs/jfs/file.c
+++ b/fs/jfs/file.c
@@ -152,8 +152,8 @@ const struct file_operations jfs_file_operations = {
152 .open = jfs_open, 152 .open = jfs_open,
153 .llseek = generic_file_llseek, 153 .llseek = generic_file_llseek,
154 .write = do_sync_write, 154 .write = do_sync_write,
155 .read = do_sync_read, 155 .read = new_sync_read,
156 .aio_read = generic_file_aio_read, 156 .read_iter = generic_file_read_iter,
157 .aio_write = generic_file_aio_write, 157 .aio_write = generic_file_aio_write,
158 .mmap = generic_file_mmap, 158 .mmap = generic_file_mmap,
159 .splice_read = generic_file_splice_read, 159 .splice_read = generic_file_splice_read,
diff --git a/fs/logfs/file.c b/fs/logfs/file.c
index 57914fc32b62..1ca8026dc664 100644
--- a/fs/logfs/file.c
+++ b/fs/logfs/file.c
@@ -264,14 +264,14 @@ const struct inode_operations logfs_reg_iops = {
264}; 264};
265 265
266const struct file_operations logfs_reg_fops = { 266const struct file_operations logfs_reg_fops = {
267 .aio_read = generic_file_aio_read, 267 .read_iter = generic_file_read_iter,
268 .aio_write = generic_file_aio_write, 268 .aio_write = generic_file_aio_write,
269 .fsync = logfs_fsync, 269 .fsync = logfs_fsync,
270 .unlocked_ioctl = logfs_ioctl, 270 .unlocked_ioctl = logfs_ioctl,
271 .llseek = generic_file_llseek, 271 .llseek = generic_file_llseek,
272 .mmap = generic_file_readonly_mmap, 272 .mmap = generic_file_readonly_mmap,
273 .open = generic_file_open, 273 .open = generic_file_open,
274 .read = do_sync_read, 274 .read = new_sync_read,
275 .write = do_sync_write, 275 .write = do_sync_write,
276}; 276};
277 277
diff --git a/fs/minix/file.c b/fs/minix/file.c
index adc6f5494231..607b47145325 100644
--- a/fs/minix/file.c
+++ b/fs/minix/file.c
@@ -14,8 +14,8 @@
14 */ 14 */
15const struct file_operations minix_file_operations = { 15const struct file_operations minix_file_operations = {
16 .llseek = generic_file_llseek, 16 .llseek = generic_file_llseek,
17 .read = do_sync_read, 17 .read = new_sync_read,
18 .aio_read = generic_file_aio_read, 18 .read_iter = generic_file_read_iter,
19 .write = do_sync_write, 19 .write = do_sync_write,
20 .aio_write = generic_file_aio_write, 20 .aio_write = generic_file_aio_write,
21 .mmap = generic_file_mmap, 21 .mmap = generic_file_mmap,
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
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c
index b6fa457d8d01..89b4d6663775 100644
--- a/fs/ntfs/file.c
+++ b/fs/ntfs/file.c
@@ -2200,8 +2200,8 @@ static int ntfs_file_fsync(struct file *filp, loff_t start, loff_t end,
2200 2200
2201const struct file_operations ntfs_file_ops = { 2201const struct file_operations ntfs_file_ops = {
2202 .llseek = generic_file_llseek, /* Seek inside file. */ 2202 .llseek = generic_file_llseek, /* Seek inside file. */
2203 .read = do_sync_read, /* Read from file. */ 2203 .read = new_sync_read, /* Read from file. */
2204 .aio_read = generic_file_aio_read, /* Async read from file. */ 2204 .read_iter = generic_file_read_iter, /* Async read from file. */
2205#ifdef NTFS_RW 2205#ifdef NTFS_RW
2206 .write = do_sync_write, /* Write to file. */ 2206 .write = do_sync_write, /* Write to file. */
2207 .aio_write = ntfs_file_aio_write, /* Async write to file. */ 2207 .aio_write = ntfs_file_aio_write, /* Async write to file. */
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index 54d57d6ba68d..3bf28da9f0df 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
@@ -337,9 +337,9 @@ static sector_t omfs_bmap(struct address_space *mapping, sector_t block)
337 337
338const struct file_operations omfs_file_operations = { 338const struct file_operations omfs_file_operations = {
339 .llseek = generic_file_llseek, 339 .llseek = generic_file_llseek,
340 .read = do_sync_read, 340 .read = new_sync_read,
341 .write = do_sync_write, 341 .write = do_sync_write,
342 .aio_read = generic_file_aio_read, 342 .read_iter = generic_file_read_iter,
343 .aio_write = generic_file_aio_write, 343 .aio_write = generic_file_aio_write,
344 .mmap = generic_file_mmap, 344 .mmap = generic_file_mmap,
345 .fsync = generic_file_fsync, 345 .fsync = generic_file_fsync,
diff --git a/fs/ramfs/file-mmu.c b/fs/ramfs/file-mmu.c
index 1e56a4e8cf7c..30ffb367bc0b 100644
--- a/fs/ramfs/file-mmu.c
+++ b/fs/ramfs/file-mmu.c
@@ -31,8 +31,8 @@
31#include "internal.h" 31#include "internal.h"
32 32
33const struct file_operations ramfs_file_operations = { 33const struct file_operations ramfs_file_operations = {
34 .read = do_sync_read, 34 .read = new_sync_read,
35 .aio_read = generic_file_aio_read, 35 .read_iter = generic_file_read_iter,
36 .write = do_sync_write, 36 .write = do_sync_write,
37 .aio_write = generic_file_aio_write, 37 .aio_write = generic_file_aio_write,
38 .mmap = generic_file_mmap, 38 .mmap = generic_file_mmap,
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);
37const struct file_operations ramfs_file_operations = { 37const 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,
diff --git a/fs/read_write.c b/fs/read_write.c
index fe2f9d5e3536..009d8542a889 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -29,8 +29,8 @@ typedef ssize_t (*iter_fn_t)(struct kiocb *, struct iov_iter *);
29 29
30const struct file_operations generic_ro_fops = { 30const struct file_operations generic_ro_fops = {
31 .llseek = generic_file_llseek, 31 .llseek = generic_file_llseek,
32 .read = do_sync_read, 32 .read = new_sync_read,
33 .aio_read = generic_file_aio_read, 33 .read_iter = generic_file_read_iter,
34 .mmap = generic_file_readonly_mmap, 34 .mmap = generic_file_readonly_mmap,
35 .splice_read = generic_file_splice_read, 35 .splice_read = generic_file_splice_read,
36}; 36};
diff --git a/fs/reiserfs/file.c b/fs/reiserfs/file.c
index ed58d843d578..7592d681fd8c 100644
--- a/fs/reiserfs/file.c
+++ b/fs/reiserfs/file.c
@@ -235,7 +235,7 @@ int reiserfs_commit_page(struct inode *inode, struct page *page,
235} 235}
236 236
237const struct file_operations reiserfs_file_operations = { 237const struct file_operations reiserfs_file_operations = {
238 .read = do_sync_read, 238 .read = new_sync_read,
239 .write = do_sync_write, 239 .write = do_sync_write,
240 .unlocked_ioctl = reiserfs_ioctl, 240 .unlocked_ioctl = reiserfs_ioctl,
241#ifdef CONFIG_COMPAT 241#ifdef CONFIG_COMPAT
@@ -245,7 +245,7 @@ const struct file_operations reiserfs_file_operations = {
245 .open = reiserfs_file_open, 245 .open = reiserfs_file_open,
246 .release = reiserfs_file_release, 246 .release = reiserfs_file_release,
247 .fsync = reiserfs_sync_file, 247 .fsync = reiserfs_sync_file,
248 .aio_read = generic_file_aio_read, 248 .read_iter = generic_file_read_iter,
249 .aio_write = generic_file_aio_write, 249 .aio_write = generic_file_aio_write,
250 .splice_read = generic_file_splice_read, 250 .splice_read = generic_file_splice_read,
251 .splice_write = generic_file_splice_write, 251 .splice_write = generic_file_splice_write,
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)
72 72
73const struct file_operations romfs_ro_fops = { 73const struct file_operations romfs_ro_fops = {
74 .llseek = generic_file_llseek, 74 .llseek = generic_file_llseek,
75 .read = do_sync_read, 75 .read = new_sync_read,
76 .aio_read = generic_file_aio_read, 76 .read_iter = generic_file_read_iter,
77 .splice_read = generic_file_splice_read, 77 .splice_read = generic_file_splice_read,
78 .mmap = romfs_mmap, 78 .mmap = romfs_mmap,
79 .get_unmapped_area = romfs_get_unmapped_area, 79 .get_unmapped_area = romfs_get_unmapped_area,
diff --git a/fs/sysv/file.c b/fs/sysv/file.c
index 9d4dc6831792..d99be8877388 100644
--- a/fs/sysv/file.c
+++ b/fs/sysv/file.c
@@ -21,8 +21,8 @@
21 */ 21 */
22const struct file_operations sysv_file_operations = { 22const struct file_operations sysv_file_operations = {
23 .llseek = generic_file_llseek, 23 .llseek = generic_file_llseek,
24 .read = do_sync_read, 24 .read = new_sync_read,
25 .aio_read = generic_file_aio_read, 25 .read_iter = generic_file_read_iter,
26 .write = do_sync_write, 26 .write = do_sync_write,
27 .aio_write = generic_file_aio_write, 27 .aio_write = generic_file_aio_write,
28 .mmap = generic_file_mmap, 28 .mmap = generic_file_mmap,
diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index 4f34dbae823d..ab721529c57c 100644
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -1582,9 +1582,9 @@ const struct inode_operations ubifs_symlink_inode_operations = {
1582 1582
1583const struct file_operations ubifs_file_operations = { 1583const struct file_operations ubifs_file_operations = {
1584 .llseek = generic_file_llseek, 1584 .llseek = generic_file_llseek,
1585 .read = do_sync_read, 1585 .read = new_sync_read,
1586 .write = do_sync_write, 1586 .write = do_sync_write,
1587 .aio_read = generic_file_aio_read, 1587 .read_iter = generic_file_read_iter,
1588 .aio_write = ubifs_aio_write, 1588 .aio_write = ubifs_aio_write,
1589 .mmap = ubifs_file_mmap, 1589 .mmap = ubifs_file_mmap,
1590 .fsync = ubifs_fsync, 1590 .fsync = ubifs_fsync,
diff --git a/fs/udf/file.c b/fs/udf/file.c
index ade886401658..8a7c400b035f 100644
--- a/fs/udf/file.c
+++ b/fs/udf/file.c
@@ -252,8 +252,8 @@ static int udf_release_file(struct inode *inode, struct file *filp)
252} 252}
253 253
254const struct file_operations udf_file_operations = { 254const struct file_operations udf_file_operations = {
255 .read = do_sync_read, 255 .read = new_sync_read,
256 .aio_read = generic_file_aio_read, 256 .read_iter = generic_file_read_iter,
257 .unlocked_ioctl = udf_ioctl, 257 .unlocked_ioctl = udf_ioctl,
258 .open = generic_file_open, 258 .open = generic_file_open,
259 .mmap = generic_file_mmap, 259 .mmap = generic_file_mmap,
diff --git a/fs/ufs/file.c b/fs/ufs/file.c
index 33afa20d4509..b6b402989e6b 100644
--- a/fs/ufs/file.c
+++ b/fs/ufs/file.c
@@ -35,8 +35,8 @@
35 35
36const struct file_operations ufs_file_operations = { 36const struct file_operations ufs_file_operations = {
37 .llseek = generic_file_llseek, 37 .llseek = generic_file_llseek,
38 .read = do_sync_read, 38 .read = new_sync_read,
39 .aio_read = generic_file_aio_read, 39 .read_iter = generic_file_read_iter,
40 .write = do_sync_write, 40 .write = do_sync_write,
41 .aio_write = generic_file_aio_write, 41 .aio_write = generic_file_aio_write,
42 .mmap = generic_file_mmap, 42 .mmap = generic_file_mmap,