projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'work.splice_read' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git]
/
fs
/
xfs
/
xfs_file.c
diff --git
a/fs/xfs/xfs_file.c
b/fs/xfs/xfs_file.c
index
6251168
..
2bc58b3
100644
(file)
--- a/
fs/xfs/xfs_file.c
+++ b/
fs/xfs/xfs_file.c
@@
-319,7
+319,7
@@
xfs_file_dio_aio_read(
data = *to;
ret = __blockdev_direct_IO(iocb, inode, target->bt_bdev, &data,
xfs_get_blocks_direct, NULL, NULL, 0);
data = *to;
ret = __blockdev_direct_IO(iocb, inode, target->bt_bdev, &data,
xfs_get_blocks_direct, NULL, NULL, 0);
- if (ret > 0) {
+ if (ret >
=
0) {
iocb->ki_pos += ret;
iov_iter_advance(to, ret);
}
iocb->ki_pos += ret;
iov_iter_advance(to, ret);
}