Made use of 'error' argument, which was unused (by mistake) before.

Submitted by:    Pawel Jakub Dawidek <nick@garage.freebsd.pl>
This commit is contained in:
Poul-Henning Kamp 2003-10-14 08:09:43 +00:00
parent d29516dd82
commit b84044731d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121083

View File

@ -99,7 +99,7 @@ bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error)
if (bp == NULL)
break;
bioq_remove(head, bp);
biofinish(bp, stp, ENXIO);
biofinish(bp, stp, error);
}
}