Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1322
b: refs/heads/master
c: b5c44c2
h: refs/heads/master
v: v3
  • Loading branch information
Suparna Bhattacharya authored and Linus Torvalds committed May 21, 2005
1 parent 5efcd24 commit 01998a6
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: f359b74c80bc76c1f6c2cb8f2837882f2335ba0c
refs/heads/master: b5c44c2147a447f77e07fecdb087ae288e1f4e40
2 changes: 1 addition & 1 deletion trunk/mm/filemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ __generic_file_aio_read(struct kiocb *iocb, const struct iovec *iov,
if (pos < size) {
retval = generic_file_direct_IO(READ, iocb,
iov, pos, nr_segs);
if (retval >= 0 && !is_sync_kiocb(iocb))
if (retval > 0 && !is_sync_kiocb(iocb))
retval = -EIOCBQUEUED;
if (retval > 0)
*ppos = pos + retval;
Expand Down

0 comments on commit 01998a6

Please sign in to comment.