VisionFive2 Linux kernel

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

More than 9999 Commits   33 Branches   55 Tags
author: Omar Sandoval <osandov@osandov.com> 2015-03-16 04:33:50 -0700 committer: Al Viro <viro@zeniv.linux.org.uk> 2015-04-11 22:29:44 -0400 commit: 17f8c842d24ac054e4212c82b5bd6ae455a334f3 parent: bd8e0ff956456ad9071dbb6c2ed7d33bd22fc216
Commit Summary:
Remove rw from {,__,do_}blockdev_direct_IO()
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/affs/file.c b/fs/affs/file.c
index 7c1a3d4c19c2..1edc0d4b40db 100644
--- a/fs/affs/file.c
+++ b/fs/affs/file.c
@@ -405,7 +405,7 @@ affs_direct_IO(int rw, struct kiocb *iocb, struct iov_iter *iter,
 			return 0;
 	}
 
-	ret = blockdev_direct_IO(rw, iocb, inode, iter, offset, affs_get_block);
+	ret = blockdev_direct_IO(iocb, inode, iter, offset, affs_get_block);
 	if (ret < 0 && (rw & WRITE))
 		affs_write_failed(mapping, offset + count);
 	return ret;