summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ufs
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/ufs/ufs
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/ufs/ufs')
-rw-r--r--sys/ufs/ufs/ufs_bmap.c1
-rw-r--r--sys/ufs/ufs/ufs_disksubr.c1
-rw-r--r--sys/ufs/ufs/ufs_lookup.c1
-rw-r--r--sys/ufs/ufs/ufs_vnops.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/sys/ufs/ufs/ufs_bmap.c b/sys/ufs/ufs/ufs_bmap.c
index c24f507..9056340 100644
--- a/sys/ufs/ufs/ufs_bmap.c
+++ b/sys/ufs/ufs/ufs_bmap.c
@@ -41,6 +41,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/vnode.h>
diff --git a/sys/ufs/ufs/ufs_disksubr.c b/sys/ufs/ufs/ufs_disksubr.c
index fc7fb28..ed68f38 100644
--- a/sys/ufs/ufs/ufs_disksubr.c
+++ b/sys/ufs/ufs/ufs_disksubr.c
@@ -41,6 +41,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/conf.h>
#include <sys/disklabel.h>
diff --git a/sys/ufs/ufs/ufs_lookup.c b/sys/ufs/ufs/ufs_lookup.c
index fd9d609..3834a54 100644
--- a/sys/ufs/ufs/ufs_lookup.c
+++ b/sys/ufs/ufs/ufs_lookup.c
@@ -43,6 +43,7 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/namei.h>
+#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/stat.h>
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
index 6d36fb7..e3b6e29 100644
--- a/sys/ufs/ufs/ufs_vnops.c
+++ b/sys/ufs/ufs/ufs_vnops.c
@@ -48,6 +48,7 @@
#include <sys/kernel.h>
#include <sys/fcntl.h>
#include <sys/stat.h>
+#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/mount.h>
OpenPOWER on IntegriCloud