Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147045
b: refs/heads/master
c: 4fc981e
h: refs/heads/master
i:
  147043: 28aaa5f
v: v3
  • Loading branch information
Tejun Heo authored and Jens Axboe committed May 19, 2009
1 parent 701dd73 commit 189ae27
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: 5f49f63178360b07a095bd33b0d850d60edf7590
refs/heads/master: 4fc981ef9e7c0953d5c4896ce088b19c50cb018f
2 changes: 1 addition & 1 deletion trunk/fs/bio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ static void bio_copy_kern_endio(struct bio *bio, int err)
char *addr = page_address(bvec->bv_page);
int len = bmd->iovecs[i].bv_len;

if (read && !err)
if (read)
memcpy(p, addr, len);

__free_page(bvec->bv_page);
Expand Down

0 comments on commit 189ae27

Please sign in to comment.