diff options
| author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-12-13 12:57:21 +0000 |
|---|---|---|
| committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-12-13 12:57:21 +0000 |
| commit | bf4843166f2ed50e6435a77b38a011945de0a6f6 (patch) | |
| tree | ac9d083cb046e30877135f490bf2d09ab7c62d99 /sys/kern/subr_disk.c | |
| parent | 125eb366ead57a96932658a50452e42394429cb7 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_disk.c')
| -rw-r--r-- | sys/kern/subr_disk.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index fcd0c9da63b0..9d1ef07d0062 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -99,6 +99,13 @@ bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error) } void +bioq_insert_head(struct bio_queue_head *head, struct bio *bp) +{ + + TAILQ_INSERT_HEAD(&head->queue, bp, bio_queue); +} + +void bioq_insert_tail(struct bio_queue_head *head, struct bio *bp) { |
