aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-09-20 14:14:37 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-09-20 14:14:37 +0000
commit2382fb0a84d51c40ced9f8164cd868940ed21f4a (patch)
tree3a943971e7e89a1029824f9f9d07d4300238f212 /sys/sys/bio.h
parentfc028b4e24fc97676e9d945a9ed741409be0880f (diff)
downloadsrc-2382fb0a84d51c40ced9f8164cd868940ed21f4a.tar.gz
src-2382fb0a84d51c40ced9f8164cd868940ed21f4a.zip
Make FreeBSD "struct disklabel" agnostic, step 312 of 723:
Rename bioqdisksort() to bioq_disksort(). Keep a #define around to avoid changing all diskdrivers right now. Move it from subr_disklabel.c to subr_disk.c. Move prototype from <sys/disklabel.h> to <sys/bio.h> Sponsored by: DARPA and NAI Labs.
Notes
Notes: svn path=/head/; revision=103683
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r--sys/sys/bio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 49b25dc68bb9..a202449e8660 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -136,6 +136,8 @@ bioq_first(struct bio_queue_head *head)
void biodone(struct bio *bp);
void biofinish(struct bio *bp, struct devstat *stat, int error);
int biowait(struct bio *bp, const char *wchan);
+void bioq_disksort(struct bio_queue_head *ap, struct bio *bp);
+#define bioqdisksort(foo, bar) bioq_disksort(foo, bar)
void bioq_init(struct bio_queue_head *head);
void bioq_remove(struct bio_queue_head *head, struct bio *bp);