summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-12 08:00:19 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-12 08:04:25 +0200
commitd81fec0f97cce4aea36a89340af247523c1263a0 (patch)
tree8285dc024c0f5b9a6650b95310aa424b46da7ff5 /arch
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus... (diff)
downloadlinux-d81fec0f97cce4aea36a89340af247523c1263a0.tar.xz
linux-d81fec0f97cce4aea36a89340af247523c1263a0.zip
missed bio_endio() in axonram
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/sysdev/axonram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/axonram.c b/arch/powerpc/sysdev/axonram.c
index 4d3ba63bba79..5eaf3e3f4b8b 100644
--- a/arch/powerpc/sysdev/axonram.c
+++ b/arch/powerpc/sysdev/axonram.c
@@ -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;
}
@@ -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;
}