diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2002-09-18 08:59:04 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-09-18 08:59:04 -0700 |
| commit | 801783b67f8ca8f26c3f806a2c13094710d91df7 (patch) | |
| tree | b17ecd8890d35220638f7891d75c7c51e11c8a7f /include/linux | |
| parent | f102df2e6421cdb4fafff9f44caaf49605c4f635 (diff) | |
| parent | b72173b04db65eff36559ae992880faf81735582 (diff) | |
Merge http://gkernel.bkbits.net/net-drivers-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nbd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nbd.h b/include/linux/nbd.h index e2c507ba6b08..d2e9309f1a76 100644 --- a/include/linux/nbd.h +++ b/include/linux/nbd.h @@ -59,7 +59,7 @@ nbd_end_request(struct request *req) blk_finished_io(nsect); req->bio = bio->bi_next; bio->bi_next = NULL; - bio_endio(bio, uptodate); + bio_endio(bio, nsect << 9, uptodate ? 0 : -EIO); } blk_put_request(req); spin_unlock_irqrestore(q->queue_lock, flags); |
