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/fs | |
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/fs')
-rw-r--r-- | sys/fs/cd9660/cd9660_lookup.c | 1 | ||||
-rw-r--r-- | sys/fs/cd9660/cd9660_node.c | 1 | ||||
-rw-r--r-- | sys/fs/cd9660/cd9660_rrip.c | 1 | ||||
-rw-r--r-- | sys/fs/cd9660/cd9660_vfsops.c | 1 | ||||
-rw-r--r-- | sys/fs/cd9660/cd9660_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/hpfs/hpfs_alsubr.c | 1 | ||||
-rw-r--r-- | sys/fs/hpfs/hpfs_lookup.c | 1 | ||||
-rw-r--r-- | sys/fs/hpfs/hpfs_subr.c | 1 | ||||
-rw-r--r-- | sys/fs/hpfs/hpfs_vfsops.c | 1 | ||||
-rw-r--r-- | sys/fs/hpfs/hpfs_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_denode.c | 1 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_fat.c | 1 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_lookup.c | 1 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vfsops.c | 1 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/ntfs/ntfs_subr.c | 1 | ||||
-rw-r--r-- | sys/fs/ntfs/ntfs_vfsops.c | 1 | ||||
-rw-r--r-- | sys/fs/ntfs/ntfs_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/nwfs/nwfs_io.c | 1 | ||||
-rw-r--r-- | sys/fs/nwfs/nwfs_vfsops.c | 1 | ||||
-rw-r--r-- | sys/fs/nwfs/nwfs_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/specfs/spec_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/unionfs/union_vnops.c | 1 |
23 files changed, 23 insertions, 0 deletions
diff --git a/sys/fs/cd9660/cd9660_lookup.c b/sys/fs/cd9660/cd9660_lookup.c index b9aabbc..1b58f44 100644 --- a/sys/fs/cd9660/cd9660_lookup.c +++ b/sys/fs/cd9660/cd9660_lookup.c @@ -44,6 +44,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/namei.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/vnode.h> #include <sys/mount.h> diff --git a/sys/fs/cd9660/cd9660_node.c b/sys/fs/cd9660/cd9660_node.c index d7093fe..a1dfd39 100644 --- a/sys/fs/cd9660/cd9660_node.c +++ b/sys/fs/cd9660/cd9660_node.c @@ -43,6 +43,7 @@ #include <sys/systm.h> #include <sys/mount.h> #include <sys/proc.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/vnode.h> #include <sys/malloc.h> diff --git a/sys/fs/cd9660/cd9660_rrip.c b/sys/fs/cd9660/cd9660_rrip.c index b4f97a9..5f0a262 100644 --- a/sys/fs/cd9660/cd9660_rrip.c +++ b/sys/fs/cd9660/cd9660_rrip.c @@ -41,6 +41,7 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/vnode.h> #include <sys/mount.h> diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index 6ec00f6..a828540 100644 --- a/sys/fs/cd9660/cd9660_vfsops.c +++ b/sys/fs/cd9660/cd9660_vfsops.c @@ -46,6 +46,7 @@ #include <sys/kernel.h> #include <sys/vnode.h> #include <sys/mount.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/cdio.h> #include <sys/conf.h> diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c index c685aa0..e4c6909 100644 --- a/sys/fs/cd9660/cd9660_vnops.c +++ b/sys/fs/cd9660/cd9660_vnops.c @@ -44,6 +44,7 @@ #include <sys/namei.h> #include <sys/kernel.h> #include <sys/stat.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/mount.h> #include <sys/vnode.h> diff --git a/sys/fs/hpfs/hpfs_alsubr.c b/sys/fs/hpfs/hpfs_alsubr.c index 52ca645..07d928e 100644 --- a/sys/fs/hpfs/hpfs_alsubr.c +++ b/sys/fs/hpfs/hpfs_alsubr.c @@ -37,6 +37,7 @@ #include <sys/mount.h> #include <sys/namei.h> #include <sys/malloc.h> +#include <sys/bio.h> #include <sys/buf.h> #include <fs/hpfs/hpfs.h> diff --git a/sys/fs/hpfs/hpfs_lookup.c b/sys/fs/hpfs/hpfs_lookup.c index 53fde4d..88542cb 100644 --- a/sys/fs/hpfs/hpfs_lookup.c +++ b/sys/fs/hpfs/hpfs_lookup.c @@ -37,6 +37,7 @@ #include <sys/mount.h> #include <sys/namei.h> #include <sys/malloc.h> +#include <sys/bio.h> #include <sys/buf.h> #include <fs/hpfs/hpfs.h> diff --git a/sys/fs/hpfs/hpfs_subr.c b/sys/fs/hpfs/hpfs_subr.c index 4d60f92..5fa32a5 100644 --- a/sys/fs/hpfs/hpfs_subr.c +++ b/sys/fs/hpfs/hpfs_subr.c @@ -37,6 +37,7 @@ #include <sys/mount.h> #include <sys/namei.h> #include <sys/malloc.h> +#include <sys/bio.h> #include <sys/buf.h> #include <fs/hpfs/hpfs.h> diff --git a/sys/fs/hpfs/hpfs_vfsops.c b/sys/fs/hpfs/hpfs_vfsops.c index efbd013..0bb10dd 100644 --- a/sys/fs/hpfs/hpfs_vfsops.c +++ b/sys/fs/hpfs/hpfs_vfsops.c @@ -35,6 +35,7 @@ #include <sys/kernel.h> #include <sys/vnode.h> #include <sys/mount.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/fcntl.h> #include <sys/malloc.h> diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index 09668b1..4ab248c 100644 --- a/sys/fs/hpfs/hpfs_vnops.c +++ b/sys/fs/hpfs/hpfs_vnops.c @@ -37,6 +37,7 @@ #include <sys/mount.h> #include <sys/namei.h> #include <sys/malloc.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/dirent.h> diff --git a/sys/fs/msdosfs/msdosfs_denode.c b/sys/fs/msdosfs/msdosfs_denode.c index ea82539..b7bf2cb 100644 --- a/sys/fs/msdosfs/msdosfs_denode.c +++ b/sys/fs/msdosfs/msdosfs_denode.c @@ -54,6 +54,7 @@ #include <sys/mount.h> #include <sys/malloc.h> #include <sys/proc.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/vnode.h> diff --git a/sys/fs/msdosfs/msdosfs_fat.c b/sys/fs/msdosfs/msdosfs_fat.c index 1caad93..38abc16 100644 --- a/sys/fs/msdosfs/msdosfs_fat.c +++ b/sys/fs/msdosfs/msdosfs_fat.c @@ -53,6 +53,7 @@ */ #include <sys/param.h> #include <sys/systm.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/mount.h> /* to define statfs structure */ #include <sys/vnode.h> /* to define vattr structure */ diff --git a/sys/fs/msdosfs/msdosfs_lookup.c b/sys/fs/msdosfs/msdosfs_lookup.c index 95e8e89..edb71a6 100644 --- a/sys/fs/msdosfs/msdosfs_lookup.c +++ b/sys/fs/msdosfs/msdosfs_lookup.c @@ -51,6 +51,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/namei.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/vnode.h> #include <sys/mount.h> diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c index c090e61..84d8b7c 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -56,6 +56,7 @@ #include <sys/kernel.h> #include <sys/vnode.h> #include <sys/mount.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/fcntl.h> #include <sys/malloc.h> diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index 6209f66..302da21 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -54,6 +54,7 @@ #include <sys/resourcevar.h> /* defines plimit structure in proc struct */ #include <sys/kernel.h> #include <sys/stat.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/proc.h> #include <sys/mount.h> diff --git a/sys/fs/ntfs/ntfs_subr.c b/sys/fs/ntfs/ntfs_subr.c index 7a75972..e8f5588 100644 --- a/sys/fs/ntfs/ntfs_subr.c +++ b/sys/fs/ntfs/ntfs_subr.c @@ -36,6 +36,7 @@ #include <sys/kernel.h> #include <sys/vnode.h> #include <sys/mount.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/file.h> #include <sys/malloc.h> diff --git a/sys/fs/ntfs/ntfs_vfsops.c b/sys/fs/ntfs/ntfs_vfsops.c index ea58a6c..77ac0d8 100644 --- a/sys/fs/ntfs/ntfs_vfsops.c +++ b/sys/fs/ntfs/ntfs_vfsops.c @@ -37,6 +37,7 @@ #include <sys/kernel.h> #include <sys/vnode.h> #include <sys/mount.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/fcntl.h> #include <sys/malloc.h> diff --git a/sys/fs/ntfs/ntfs_vnops.c b/sys/fs/ntfs/ntfs_vnops.c index fdb555f..e3db31f 100644 --- a/sys/fs/ntfs/ntfs_vnops.c +++ b/sys/fs/ntfs/ntfs_vnops.c @@ -49,6 +49,7 @@ #include <sys/mount.h> #include <sys/namei.h> #include <sys/malloc.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/dirent.h> diff --git a/sys/fs/nwfs/nwfs_io.c b/sys/fs/nwfs/nwfs_io.c index 2cf3e49..c6b301b 100644 --- a/sys/fs/nwfs/nwfs_io.c +++ b/sys/fs/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/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c index d9257af..7be59e9 100644 --- a/sys/fs/nwfs/nwfs_vfsops.c +++ b/sys/fs/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/fs/nwfs/nwfs_vnops.c b/sys/fs/nwfs/nwfs_vnops.c index 0d6a205..505e561 100644 --- a/sys/fs/nwfs/nwfs_vnops.c +++ b/sys/fs/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> diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c index 784142d..85ffdbd 100644 --- a/sys/fs/specfs/spec_vnops.c +++ b/sys/fs/specfs/spec_vnops.c @@ -39,6 +39,7 @@ #include <sys/systm.h> #include <sys/kernel.h> #include <sys/conf.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/mount.h> #include <sys/vnode.h> diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c index 38c190b..1c5ed5d 100644 --- a/sys/fs/unionfs/union_vnops.c +++ b/sys/fs/unionfs/union_vnops.c @@ -48,6 +48,7 @@ #include <sys/mount.h> #include <sys/namei.h> #include <sys/malloc.h> +#include <sys/bio.h> #include <sys/buf.h> #include <sys/lock.h> #include <sys/sysctl.h> |