diff options
| author | Jens Axboe <axboe@suse.de> | 2002-09-18 08:55:41 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@suse.de> | 2002-09-18 08:55:41 -0700 |
| commit | ba02d250d0ba62b66b9e4a503af2c3d69f7ad3fa (patch) | |
| tree | 5c152b2411caed1dfe88d9d916f3c7fc15c502f5 /include/linux | |
| parent | 343da22d62af9f55bf4f7c8051a60a0349c2def3 (diff) | |
[PATCH] nbd bio_endio()
Switch nbd bio_endio() over to new semantics
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); |
