diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-05-05 09:59:14 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-05-05 09:59:14 +0000 |
commit | 9626b608de4a43ec9984c3ee95b2ce624b3c0924 (patch) | |
tree | b1e53d453112b9bf26ef95be27ea84f2e9bdacf0 /sys/isofs/cd9660 | |
parent | 33a0a551d439227028f2280faebe76b81c857cca (diff) | |
download | src-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/isofs/cd9660')
-rw-r--r-- | sys/isofs/cd9660/cd9660_lookup.c | 1 | ||||
-rw-r--r-- | sys/isofs/cd9660/cd9660_node.c | 1 | ||||
-rw-r--r-- | sys/isofs/cd9660/cd9660_rrip.c | 1 | ||||
-rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 1 | ||||
-rw-r--r-- | sys/isofs/cd9660/cd9660_vnops.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/sys/isofs/cd9660/cd9660_lookup.c b/sys/isofs/cd9660/cd9660_lookup.c index b9aabbc7e2b8..1b58f44fd67f 100644 --- a/sys/isofs/cd9660/cd9660_lookup.c +++ b/sys/isofs/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/isofs/cd9660/cd9660_node.c b/sys/isofs/cd9660/cd9660_node.c index d7093fe3fd7f..a1dfd391fd02 100644 --- a/sys/isofs/cd9660/cd9660_node.c +++ b/sys/isofs/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/isofs/cd9660/cd9660_rrip.c b/sys/isofs/cd9660/cd9660_rrip.c index b4f97a98e112..5f0a262bd901 100644 --- a/sys/isofs/cd9660/cd9660_rrip.c +++ b/sys/isofs/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/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index 6ec00f605d93..a82854012702 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/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/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c index c685aa036947..e4c6909af795 100644 --- a/sys/isofs/cd9660/cd9660_vnops.c +++ b/sys/isofs/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> |