aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/file.c')
-rw-r--r--fs/nfs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c
index 524dd80d1898..3b42cb86218e 100644
--- a/fs/nfs/file.c
+++ b/fs/nfs/file.c
@@ -171,7 +171,7 @@ nfs_file_read(struct kiocb *iocb, struct iov_iter *to)
171 ssize_t result; 171 ssize_t result;
172 172
173 if (iocb->ki_filp->f_flags & O_DIRECT) 173 if (iocb->ki_filp->f_flags & O_DIRECT)
174 return nfs_file_direct_read(iocb, to, iocb->ki_pos, true); 174 return nfs_file_direct_read(iocb, to, iocb->ki_pos);
175 175
176 dprintk("NFS: read(%pD2, %zu@%lu)\n", 176 dprintk("NFS: read(%pD2, %zu@%lu)\n",
177 iocb->ki_filp, 177 iocb->ki_filp,
@@ -648,7 +648,7 @@ ssize_t nfs_file_write(struct kiocb *iocb, struct iov_iter *from)
648 return result; 648 return result;
649 649
650 if (file->f_flags & O_DIRECT) 650 if (file->f_flags & O_DIRECT)
651 return nfs_file_direct_write(iocb, from, pos, true); 651 return nfs_file_direct_write(iocb, from, pos);
652 652
653 dprintk("NFS: write(%pD2, %zu@%Ld)\n", 653 dprintk("NFS: write(%pD2, %zu@%Ld)\n",
654 file, count, (long long) pos); 654 file, count, (long long) pos);