block: add a bi_error field to struct bio
[cascardo/linux.git] / arch / m68k / emu / nfblock.c
index 2d75ae2..f2a00c5 100644 (file)
@@ -76,7 +76,7 @@ static void nfhd_make_request(struct request_queue *queue, struct bio *bio)
                                bvec_to_phys(&bvec));
                sec += len;
        }
-       bio_endio(bio, 0);
+       bio_endio(bio);
 }
 
 static int nfhd_getgeo(struct block_device *bdev, struct hd_geometry *geo)