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:
parent
d29516dd82
commit
b84044731d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user