Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312869
b: refs/heads/master
c: d187663
h: refs/heads/master
i:
  312867: a08f86b
v: v3
  • Loading branch information
Julia Lawall authored and Al Viro committed Jul 14, 2012
1 parent ea00f7b commit 2c5ffaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3dd847820d138c9d60764b0e920380373285ff10
refs/heads/master: d187663ef24cd3d033f0cbf2867e70b36a3a90b8
2 changes: 1 addition & 1 deletion trunk/fs/direct-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ do_blockdev_direct_IO(int rw, struct kiocb *iocb, struct inode *inode,
*/
BUG_ON(retval == -EIOCBQUEUED);
if (dio->is_async && retval == 0 && dio->result &&
((rw & READ) || (dio->result == sdio.size)))
((rw == READ) || (dio->result == sdio.size)))
retval = -EIOCBQUEUED;

if (retval != -EIOCBQUEUED)
Expand Down

0 comments on commit 2c5ffaf

Please sign in to comment.