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/ntfs | |
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/ntfs')
-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 |
3 files changed, 3 insertions, 0 deletions
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> |