Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11845
b: refs/heads/master
c: 39e88ca
h: refs/heads/master
i:
  11843: d6ebb6c
v: v3
  • Loading branch information
Tejun Heo authored and Linus Torvalds committed Oct 31, 2005
1 parent ab118c9 commit f1c271e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 30e0fca6c1d7d26f3f2daa4dd2b12c51dadc778a
refs/heads/master: 39e88ca2c9d0f6d1e9f34ea2a6e86a652bb69a7a
4 changes: 2 additions & 2 deletions trunk/mm/filemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1030,8 +1030,8 @@ __generic_file_aio_read(struct kiocb *iocb, const struct iovec *iov,
desc.error = 0;
do_generic_file_read(filp,ppos,&desc,file_read_actor);
retval += desc.written;
if (!retval) {
retval = desc.error;
if (desc.error) {
retval = retval ?: desc.error;
break;
}
}
Expand Down

0 comments on commit f1c271e

Please sign in to comment.