diff options
author | phk <phk@FreeBSD.org> | 2000-05-05 09:59:14 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-05-05 09:59:14 +0000 |
commit | 36c3965ff904c2677211575be5bfa7d3afe80d19 (patch) | |
tree | dc425a5c4e6ca4b753b2fc7c6c3057c50cbbeb92 /sys/nfs | |
parent | 5ea491d29e5d066f5e0a88aeb886dbe04c7ada92 (diff) | |
download | FreeBSD-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/nfs')
-rw-r--r-- | sys/nfs/nfs_bio.c | 1 | ||||
-rw-r--r-- | sys/nfs/nfs_common.c | 1 | ||||
-rw-r--r-- | sys/nfs/nfs_serv.c | 1 | ||||
-rw-r--r-- | sys/nfs/nfs_subs.c | 1 | ||||
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 1 | ||||
-rw-r--r-- | sys/nfs/nfs_vnops.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index 6923feb..09585bf 100644 --- a/sys/nfs/nfs_bio.c +++ b/sys/nfs/nfs_bio.c @@ -43,6 +43,7 @@ #include <sys/resourcevar.h> #include <sys/signalvar.h> #include <sys/proc.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/vnode.h> #include <sys/mount.h> diff --git a/sys/nfs/nfs_common.c b/sys/nfs/nfs_common.c index dbbb4dd..70e871f 100644 --- a/sys/nfs/nfs_common.c +++ b/sys/nfs/nfs_common.c @@ -45,6 +45,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/proc.h> #include <sys/mount.h> diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c index 6aad427..06ce9ed 100644 --- a/sys/nfs/nfs_serv.c +++ b/sys/nfs/nfs_serv.c @@ -85,6 +85,7 @@ #include <sys/stat.h> #include <sys/kernel.h> #include <sys/sysctl.h> +#include <sys/bio.h> #include <sys/buf.h> #include <vm/vm.h> diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c index dbbb4dd..70e871f 100644 --- a/sys/nfs/nfs_subs.c +++ b/sys/nfs/nfs_subs.c @@ -45,6 +45,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/proc.h> #include <sys/mount.h> diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index ead5b86..1e0162f 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.c @@ -48,6 +48,7 @@ #include <sys/malloc.h> #include <sys/mount.h> #include <sys/proc.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/mbuf.h> #include <sys/socket.h> diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c index 27fe3c8..91f9435 100644 --- a/sys/nfs/nfs_vnops.c +++ b/sys/nfs/nfs_vnops.c @@ -50,6 +50,7 @@ #include <sys/resourcevar.h> #include <sys/proc.h> #include <sys/mount.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/malloc.h> #include <sys/mbuf.h> |