aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_diskmbr.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-05-05 09:59:14 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-05-05 09:59:14 +0000
commit9626b608de4a43ec9984c3ee95b2ce624b3c0924 (patch)
treeb1e53d453112b9bf26ef95be27ea84f2e9bdacf0 /sys/kern/subr_diskmbr.c
parent33a0a551d439227028f2280faebe76b81c857cca (diff)
downloadsrc-9626b608de4a43ec9984c3ee95b2ce624b3c0924.tar.gz
src-9626b608de4a43ec9984c3ee95b2ce624b3c0924.zip
Separate the struct bio related stuff out of <sys/buf.h> into
<sys/bio.h>. <sys/bio.h> is now a prerequisite for <sys/buf.h> but it shall not be made a nested include according to bdes teachings on the subject of nested includes. Diskdrivers and similar stuff below specfs::strategy() should no longer need to include <sys/buf.> unless they need caching of data. Still a few bogus uses of struct buf to track down. Repocopy by: peter
Notes
Notes: svn path=/head/; revision=60041
Diffstat (limited to 'sys/kern/subr_diskmbr.c')
-rw-r--r--sys/kern/subr_diskmbr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_diskmbr.c b/sys/kern/subr_diskmbr.c
index 13e438703638..842fed137808 100644
--- a/sys/kern/subr_diskmbr.c
+++ b/sys/kern/subr_diskmbr.c
@@ -40,6 +40,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/conf.h>
#ifdef PC98