Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67593
b: refs/heads/master
c: d81fec0
h: refs/heads/master
i:
  67591: 6150f09
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 12, 2007
1 parent 34cc2d8 commit 2482b57
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: e86908614f2c7fec401827e5cefd7a6ea9407f85
refs/heads/master: d81fec0f97cce4aea36a89340af247523c1263a0
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/sysdev/axonram.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ axon_ram_make_request(struct request_queue *queue, struct bio *bio)
transfered = 0;
bio_for_each_segment(vec, bio, idx) {
if (unlikely(phys_mem + vec->bv_len > phys_end)) {
bio_io_error(bio, bio->bi_size);
bio_io_error(bio);
rc = -ERANGE;
break;
}
Expand All @@ -131,7 +131,7 @@ axon_ram_make_request(struct request_queue *queue, struct bio *bio)
phys_mem += vec->bv_len;
transfered += vec->bv_len;
}
bio_endio(bio, transfered, 0);
bio_endio(bio, 0);

return rc;
}
Expand Down

0 comments on commit 2482b57

Please sign in to comment.