VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
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 parent: 293bc9822fa9b3c9d4b7893bcb241e085580771a
Commit Summary:
switch simple generic_file_aio_read() users to ->read_iter()
Diffstat:
1 file changed, 2 insertions, 2 deletions
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)
 
 const struct file_operations omfs_file_operations = {
 	.llseek = generic_file_llseek,
-	.read = do_sync_read,
+	.read = new_sync_read,
 	.write = do_sync_write,
-	.aio_read = generic_file_aio_read,
+	.read_iter = generic_file_read_iter,
 	.aio_write = generic_file_aio_write,
 	.mmap = generic_file_mmap,
 	.fsync = generic_file_fsync,