aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_syscalls.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/vfs_syscalls.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/vfs_syscalls.c')
-rw-r--r--sys/kern/vfs_syscalls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 99084d332ed6..08e2965b3dbd 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -44,6 +44,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/sysent.h>
#include <sys/malloc.h>