summaryrefslogtreecommitdiffstats
path: root/sys/nwfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-05-05 09:59:14 +0000
committerphk <phk@FreeBSD.org>2000-05-05 09:59:14 +0000
commit36c3965ff904c2677211575be5bfa7d3afe80d19 (patch)
treedc425a5c4e6ca4b753b2fc7c6c3057c50cbbeb92 /sys/nwfs
parent5ea491d29e5d066f5e0a88aeb886dbe04c7ada92 (diff)
downloadFreeBSD-src-36c3965ff904c2677211575be5bfa7d3afe80d19.zip
FreeBSD-src-36c3965ff904c2677211575be5bfa7d3afe80d19.tar.gz
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
Diffstat (limited to 'sys/nwfs')
-rw-r--r--sys/nwfs/nwfs_io.c1
-rw-r--r--sys/nwfs/nwfs_vfsops.c1
-rw-r--r--sys/nwfs/nwfs_vnops.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/nwfs/nwfs_io.c b/sys/nwfs/nwfs_io.c
index 2cf3e49..c6b301b 100644
--- a/sys/nwfs/nwfs_io.c
+++ b/sys/nwfs/nwfs_io.c
@@ -36,6 +36,7 @@
#include <sys/systm.h>
#include <sys/resourcevar.h> /* defines plimit structure in proc struct */
#include <sys/kernel.h>
+#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/mount.h>
diff --git a/sys/nwfs/nwfs_vfsops.c b/sys/nwfs/nwfs_vfsops.c
index d9257af..7be59e9 100644
--- a/sys/nwfs/nwfs_vfsops.c
+++ b/sys/nwfs/nwfs_vfsops.c
@@ -45,6 +45,7 @@
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/malloc.h>
+#include <sys/bio.h>
#include <sys/buf.h>
#include <netncp/ncp.h>
diff --git a/sys/nwfs/nwfs_vnops.c b/sys/nwfs/nwfs_vnops.c
index 0d6a205..505e561 100644
--- a/sys/nwfs/nwfs_vnops.c
+++ b/sys/nwfs/nwfs_vnops.c
@@ -35,6 +35,7 @@
#include <sys/systm.h>
#include <sys/namei.h>
#include <sys/kernel.h>
+#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/fcntl.h>
OpenPOWER on IntegriCloud