diff options
| author | Mark Murray <markm@FreeBSD.org> | 2001-05-01 08:13:21 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2001-05-01 08:13:21 +0000 |
| commit | fb919e4d5a2c1baca52ac70d1064f140fffdda71 (patch) | |
| tree | 62c0461c4eb61081648eebf963146193ebdc7398 /sys/fs | |
| parent | 8904de15a20f7c5372ec763d2b637b0997485466 (diff) | |
Notes
Diffstat (limited to 'sys/fs')
32 files changed, 186 insertions, 123 deletions
diff --git a/sys/fs/coda/coda_fbsd.c b/sys/fs/coda/coda_fbsd.c index 8111691c6c14..c92b48213b32 100644 --- a/sys/fs/coda/coda_fbsd.c +++ b/sys/fs/coda/coda_fbsd.c @@ -35,12 +35,13 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/conf.h> +#include <sys/fcntl.h> #include <sys/kernel.h> +#include <sys/lock.h> #include <sys/malloc.h> -#include <sys/fcntl.h> #include <sys/ucred.h> #include <sys/vnode.h> -#include <sys/conf.h> #include <vm/vm.h> #include <vm/vnode_pager.h> diff --git a/sys/fs/coda/coda_namecache.c b/sys/fs/coda/coda_namecache.c index 729c0ade4710..3b73a679824e 100644 --- a/sys/fs/coda/coda_namecache.c +++ b/sys/fs/coda/coda_namecache.c @@ -77,14 +77,12 @@ */ #include <sys/param.h> +#include <sys/systm.h> #include <sys/errno.h> +#include <sys/lock.h> #include <sys/malloc.h> #include <sys/ucred.h> -#ifndef insque -#include <sys/systm.h> -#endif /* insque */ - #include <vm/vm.h> #include <vm/vm_object.h> diff --git a/sys/fs/coda/coda_psdev.c b/sys/fs/coda/coda_psdev.c index e6ba198ec2f2..0d8560f441ae 100644 --- a/sys/fs/coda/coda_psdev.c +++ b/sys/fs/coda/coda_psdev.c @@ -58,15 +58,16 @@ extern int coda_nc_initialized; /* Set if cache has been initialized */ #include <sys/param.h> #include <sys/systm.h> +#include <sys/ioccom.h> #include <sys/kernel.h> -#include <sys/proc.h> +#include <sys/lock.h> #include <sys/malloc.h> -#include <net/radix.h> -#include <sys/socket.h> +#include <sys/file.h> /* must come after sys/malloc.h */ #include <sys/mount.h> -#include <sys/file.h> -#include <sys/ioccom.h> +#include <sys/mutex.h> #include <sys/poll.h> +#include <sys/proc.h> +#include <sys/socket.h> #include <coda/coda.h> #include <coda/cnode.h> diff --git a/sys/fs/coda/coda_subr.c b/sys/fs/coda/coda_subr.c index 8c4406bdbb5a..84546c17673b 100644 --- a/sys/fs/coda/coda_subr.c +++ b/sys/fs/coda/coda_subr.c @@ -59,10 +59,10 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/lock.h> #include <sys/malloc.h> -#include <net/radix.h> -#include <sys/socket.h> #include <sys/mount.h> +#include <sys/socket.h> #include <coda/coda.h> #include <coda/cnode.h> diff --git a/sys/fs/coda/coda_venus.c b/sys/fs/coda/coda_venus.c index 1784e2f2bb84..022009ee83e6 100644 --- a/sys/fs/coda/coda_venus.c +++ b/sys/fs/coda/coda_venus.c @@ -33,10 +33,12 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/fcntl.h> +#include <sys/ioccom.h> +#include <sys/lock.h> #include <sys/malloc.h> +#include <sys/mutex.h> #include <sys/proc.h> -#include <sys/ioccom.h> -#include <sys/fcntl.h> #include <coda/coda.h> #include <coda/cnode.h> diff --git a/sys/fs/coda/coda_vfsops.c b/sys/fs/coda/coda_vfsops.c index 437e9fd55560..a640cf4ef42a 100644 --- a/sys/fs/coda/coda_vfsops.c +++ b/sys/fs/coda/coda_vfsops.c @@ -48,14 +48,14 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/conf.h> #include <sys/kernel.h> -#include <sys/proc.h> +#include <sys/lock.h> #include <sys/malloc.h> -#include <sys/conf.h> +#include <sys/mount.h> #include <sys/namei.h> -#include <net/radix.h> +#include <sys/proc.h> #include <sys/socket.h> -#include <sys/mount.h> #include <coda/coda.h> #include <coda/cnode.h> diff --git a/sys/fs/coda/coda_vnops.c b/sys/fs/coda/coda_vnops.c index 261991771850..1444fb2574d0 100644 --- a/sys/fs/coda/coda_vnops.c +++ b/sys/fs/coda/coda_vnops.c @@ -47,18 +47,19 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/acct.h> +#include <sys/errno.h> +#include <sys/fcntl.h> #include <sys/kernel.h> -#include <sys/proc.h> +#include <sys/lock.h> #include <sys/malloc.h> -#include <net/radix.h> -#include <sys/socket.h> +#include <sys/file.h> /* Must come after sys/malloc.h */ #include <sys/mount.h> -#include <sys/errno.h> -#include <sys/acct.h> -#include <sys/file.h> -#include <sys/fcntl.h> -#include <sys/uio.h> +#include <sys/mutex.h> #include <sys/namei.h> +#include <sys/proc.h> +#include <sys/socket.h> +#include <sys/uio.h> #include <vm/vm.h> #include <vm/vm_object.h> diff --git a/sys/fs/deadfs/dead_vnops.c b/sys/fs/deadfs/dead_vnops.c index 8de5c57c529e..9911453cf607 100644 --- a/sys/fs/deadfs/dead_vnops.c +++ b/sys/fs/deadfs/dead_vnops.c @@ -38,10 +38,9 @@ #include <sys/systm.h> #include <sys/kernel.h> #include <sys/lock.h> -#include <sys/vnode.h> +#include <sys/mutex.h> #include <sys/poll.h> - -#include <machine/mutex.h> +#include <sys/vnode.h> static int chkvnlock __P((struct vnode *)); /* diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c index c7814a2f50c7..4dfd0e5c7f49 100644 --- a/sys/fs/devfs/devfs_devs.c +++ b/sys/fs/devfs/devfs_devs.c @@ -33,13 +33,14 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/dirent.h> #include <sys/conf.h> -#include <sys/vnode.h> -#include <sys/malloc.h> -#include <sys/sysctl.h> +#include <sys/dirent.h> #include <sys/kernel.h> #include <sys/lock.h> +#include <sys/malloc.h> +#include <sys/proc.h> +#include <sys/sysctl.h> +#include <sys/vnode.h> #include <machine/atomic.h> diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c index f5609b9865f4..69ec9b21fbbe 100644 --- a/sys/fs/devfs/devfs_vfsops.c +++ b/sys/fs/devfs/devfs_vfsops.c @@ -39,11 +39,12 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/vnode.h> -#include <net/radix.h> -#include <sys/socket.h> -#include <sys/mount.h> +#include <sys/lock.h> #include <sys/malloc.h> +#include <sys/mount.h> +#include <sys/proc.h> +#include <sys/socket.h> +#include <sys/vnode.h> #include <fs/devfs/devfs.h> diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c index 41cdc187fa4d..b0f2886e9d92 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -37,16 +37,17 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/kernel.h> -#include <sys/time.h> #include <sys/conf.h> -#include <sys/vnode.h> +#include <sys/dirent.h> +#include <sys/kernel.h> +#include <sys/lock.h> #include <sys/malloc.h> -#include <net/radix.h> -#include <sys/socket.h> #include <sys/mount.h> #include <sys/namei.h> -#include <sys/dirent.h> +#include <sys/proc.h> +#include <sys/socket.h> +#include <sys/time.h> +#include <sys/vnode.h> #include <fs/devfs/devfs.h> diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c index e93ad5011f6a..900e1de1d0f7 100644 --- a/sys/fs/fdescfs/fdesc_vfsops.c +++ b/sys/fs/fdescfs/fdesc_vfsops.c @@ -44,15 +44,16 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/filedesc.h> #include <sys/kernel.h> +#include <sys/lock.h> +#include <sys/malloc.h> +#include <sys/mount.h> #include <sys/proc.h> #include <sys/resourcevar.h> -#include <sys/filedesc.h> -#include <sys/vnode.h> -#include <net/radix.h> #include <sys/socket.h> -#include <sys/mount.h> -#include <sys/malloc.h> +#include <sys/vnode.h> + #include <miscfs/fdesc/fdesc.h> static MALLOC_DEFINE(M_FDESCMNT, "FDESC mount", "FDESC mount structure"); diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index 5846ac78414f..065e0a89cb1f 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -44,19 +44,20 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/proc.h> -#include <sys/kernel.h> /* boottime */ +#include <sys/conf.h> +#include <sys/dirent.h> #include <sys/filedesc.h> -#include <sys/vnode.h> +#include <sys/kernel.h> /* boottime */ +#include <sys/lock.h> #include <sys/malloc.h> -#include <sys/file.h> -#include <sys/stat.h> -#include <net/radix.h> -#include <sys/socket.h> +#include <sys/file.h> /* Must come after sys/malloc.h */ #include <sys/mount.h> #include <sys/namei.h> -#include <sys/dirent.h> -#include <sys/conf.h> +#include <sys/proc.h> +#include <sys/socket.h> +#include <sys/stat.h> +#include <sys/vnode.h> + #include <miscfs/fdesc/fdesc.h> #define FDL_WANT 0x01 diff --git a/sys/fs/nullfs/null_subr.c b/sys/fs/nullfs/null_subr.c index fe5f98881bb7..88f1584c4244 100644 --- a/sys/fs/nullfs/null_subr.c +++ b/sys/fs/nullfs/null_subr.c @@ -41,9 +41,12 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/vnode.h> -#include <sys/mount.h> +#include <sys/lock.h> #include <sys/malloc.h> +#include <sys/mount.h> +#include <sys/proc.h> +#include <sys/vnode.h> + #include <miscfs/nullfs/null.h> #define LOG2_SIZEVNODE 7 /* log2(sizeof struct vnode) */ diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c index c9a68012f054..dfaefe312258 100644 --- a/sys/fs/nullfs/null_vfsops.c +++ b/sys/fs/nullfs/null_vfsops.c @@ -47,10 +47,13 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/lock.h> #include <sys/malloc.h> -#include <sys/vnode.h> #include <sys/mount.h> #include <sys/namei.h> +#include <sys/proc.h> +#include <sys/vnode.h> + #include <miscfs/nullfs/null.h> static MALLOC_DEFINE(M_NULLFSMNT, "NULLFS mount", "NULLFS mount structure"); diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c index e9fded7b6c8c..d37ef73e4de9 100644 --- a/sys/fs/nullfs/null_vnops.c +++ b/sys/fs/nullfs/null_vnops.c @@ -175,13 +175,16 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/kernel.h> #include <sys/conf.h> -#include <sys/sysctl.h> -#include <sys/vnode.h> +#include <sys/kernel.h> +#include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mount.h> +#include <sys/mutex.h> #include <sys/namei.h> -#include <sys/malloc.h> +#include <sys/sysctl.h> +#include <sys/vnode.h> + #include <miscfs/nullfs/null.h> #include <vm/vm.h> diff --git a/sys/fs/nwfs/nwfs_node.c b/sys/fs/nwfs/nwfs_node.c index 3ba41a83306e..9c1f086101ee 100644 --- a/sys/fs/nwfs/nwfs_node.c +++ b/sys/fs/nwfs/nwfs_node.c @@ -34,17 +34,20 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/time.h> -#include <sys/proc.h> -#include <sys/mount.h> -#include <sys/vnode.h> +#include <sys/lock.h> #include <sys/malloc.h> +#include <sys/mount.h> +#include <sys/mutex.h> +#include <sys/proc.h> +#include <sys/queue.h> #include <sys/sysctl.h> +#include <sys/time.h> +#include <sys/vnode.h> + #include <vm/vm.h> #include <vm/vm_extern.h> #include <vm/vm_page.h> #include <vm/vm_object.h> -#include <sys/queue.h> #include <netncp/ncp.h> #include <netncp/ncp_conn.h> diff --git a/sys/fs/portalfs/portal_vfsops.c b/sys/fs/portalfs/portal_vfsops.c index 3f7903ca2577..5146456e522d 100644 --- a/sys/fs/portalfs/portal_vfsops.c +++ b/sys/fs/portalfs/portal_vfsops.c @@ -44,17 +44,19 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/kernel.h> -#include <sys/proc.h> +#include <sys/domain.h> #include <sys/filedesc.h> -#include <sys/file.h> -#include <sys/vnode.h> -#include <sys/mount.h> +#include <sys/kernel.h> +#include <sys/lock.h> #include <sys/malloc.h> +#include <sys/file.h> /* Must come after sys/malloc.h */ +#include <sys/mount.h> +#include <sys/proc.h> +#include <sys/protosw.h> #include <sys/socket.h> #include <sys/socketvar.h> -#include <sys/protosw.h> -#include <sys/domain.h> +#include <sys/vnode.h> + #include <miscfs/portal/portal.h> static MALLOC_DEFINE(M_PORTALFSMNT, "PORTAL mount", "PORTAL mount structure"); diff --git a/sys/fs/procfs/procfs_ctl.c b/sys/fs/procfs/procfs_ctl.c index f0a54272345e..581875845cd7 100644 --- a/sys/fs/procfs/procfs_ctl.c +++ b/sys/fs/procfs/procfs_ctl.c @@ -40,11 +40,14 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/lock.h> +#include <sys/mutex.h> #include <sys/proc.h> -#include <sys/vnode.h> #include <sys/ptrace.h> #include <sys/signalvar.h> #include <sys/sx.h> +#include <sys/vnode.h> + #include <miscfs/procfs/procfs.h> #include <vm/vm.h> diff --git a/sys/fs/procfs/procfs_dbregs.c b/sys/fs/procfs/procfs_dbregs.c index 948756904d70..d80e28cdefbe 100644 --- a/sys/fs/procfs/procfs_dbregs.c +++ b/sys/fs/procfs/procfs_dbregs.c @@ -44,11 +44,16 @@ */ #include <sys/param.h> +#include <sys/systm.h> +#include <sys/lock.h> +#include <sys/mutex.h> #include <sys/proc.h> #include <sys/vnode.h> -#include <sys/systm.h> + #include <machine/reg.h> + #include <miscfs/procfs/procfs.h> + #include <vm/vm.h> int diff --git a/sys/fs/procfs/procfs_fpregs.c b/sys/fs/procfs/procfs_fpregs.c index 6249f5245ade..7e2ff526f1e5 100644 --- a/sys/fs/procfs/procfs_fpregs.c +++ b/sys/fs/procfs/procfs_fpregs.c @@ -41,11 +41,16 @@ */ #include <sys/param.h> +#include <sys/systm.h> +#include <sys/lock.h> +#include <sys/mutex.h> #include <sys/proc.h> #include <sys/vnode.h> -#include <sys/systm.h> + #include <machine/reg.h> + #include <miscfs/procfs/procfs.h> + #include <vm/vm.h> int diff --git a/sys/fs/procfs/procfs_map.c b/sys/fs/procfs/procfs_map.c index 1caa6305a730..5e4a30c78c22 100644 --- a/sys/fs/procfs/procfs_map.c +++ b/sys/fs/procfs/procfs_map.c @@ -41,12 +41,13 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/lock.h> #include <sys/proc.h> #include <sys/vnode.h> + #include <miscfs/procfs/procfs.h> #include <vm/vm.h> -#include <sys/lock.h> #include <vm/pmap.h> #include <vm/vm_map.h> #include <vm/vm_page.h> diff --git a/sys/fs/procfs/procfs_mem.c b/sys/fs/procfs/procfs_mem.c index 6f2c8cbb88e7..3a2f8d2e7932 100644 --- a/sys/fs/procfs/procfs_mem.c +++ b/sys/fs/procfs/procfs_mem.c @@ -47,20 +47,22 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/lock.h> #include <sys/proc.h> +#include <sys/ptrace.h> +#include <sys/user.h> #include <sys/vnode.h> + #include <miscfs/procfs/procfs.h> + #include <vm/vm.h> #include <vm/vm_param.h> -#include <sys/lock.h> #include <vm/pmap.h> #include <vm/vm_extern.h> #include <vm/vm_map.h> #include <vm/vm_kern.h> #include <vm/vm_object.h> #include <vm/vm_page.h> -#include <sys/user.h> -#include <sys/ptrace.h> static int procfs_rwmem __P((struct proc *curp, struct proc *p, struct uio *uio)); diff --git a/sys/fs/procfs/procfs_regs.c b/sys/fs/procfs/procfs_regs.c index 12efe8530f47..ba585173000c 100644 --- a/sys/fs/procfs/procfs_regs.c +++ b/sys/fs/procfs/procfs_regs.c @@ -41,14 +41,19 @@ */ #include <sys/param.h> +#include <sys/systm.h> +#include <sys/lock.h> +#include <sys/mutex.h> #include <sys/proc.h> #include <sys/vnode.h> -#include <sys/systm.h> + #include <machine/reg.h> -#include <miscfs/procfs/procfs.h> + #include <vm/vm.h> #include <vm/vm_extern.h> +#include <miscfs/procfs/procfs.h> + int procfs_doregs(curp, p, pfs, uio) struct proc *curp; diff --git a/sys/fs/procfs/procfs_status.c b/sys/fs/procfs/procfs_status.c index 40e3fbe8c666..b29b4a9ddc81 100644 --- a/sys/fs/procfs/procfs_status.c +++ b/sys/fs/procfs/procfs_status.c @@ -42,18 +42,21 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/exec.h> +#include <sys/jail.h> +#include <sys/lock.h> #include <sys/malloc.h> +#include <sys/mutex.h> #include <sys/proc.h> -#include <sys/jail.h> -#include <sys/vnode.h> -#include <sys/tty.h> #include <sys/resourcevar.h> -#include <miscfs/procfs/procfs.h> +#include <sys/tty.h> +#include <sys/vnode.h> #include <vm/vm.h> #include <vm/pmap.h> #include <vm/vm_param.h> -#include <sys/exec.h> + +#include <miscfs/procfs/procfs.h> #define DOCHECK() do { if (ps >= psbuf+sizeof(psbuf)) goto bailout; } while (0) int diff --git a/sys/fs/procfs/procfs_subr.c b/sys/fs/procfs/procfs_subr.c index b960b13e3d25..64adecb273a9 100644 --- a/sys/fs/procfs/procfs_subr.c +++ b/sys/fs/procfs/procfs_subr.c @@ -41,13 +41,14 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/sysctl.h> +#include <sys/lock.h> +#include <sys/malloc.h> +#include <sys/mount.h> +#include <sys/mutex.h> #include <sys/proc.h> -#include <net/radix.h> #include <sys/socket.h> -#include <sys/mount.h> +#include <sys/sysctl.h> #include <sys/vnode.h> -#include <sys/malloc.h> #include <miscfs/procfs/procfs.h> diff --git a/sys/fs/procfs/procfs_vnops.c b/sys/fs/procfs/procfs_vnops.c index f7201fbdd78d..2e7b7cb07d50 100644 --- a/sys/fs/procfs/procfs_vnops.c +++ b/sys/fs/procfs/procfs_vnops.c @@ -45,23 +45,28 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/time.h> +#include <sys/dirent.h> +#include <sys/fcntl.h> #include <sys/kernel.h> #include <sys/lock.h> -#include <sys/fcntl.h> +#include <sys/malloc.h> +#include <sys/mount.h> +#include <sys/mutex.h> +#include <sys/namei.h> +#include <sys/pioctl.h> #include <sys/proc.h> #include <sys/signalvar.h> +#include <sys/socket.h> #include <sys/sx.h> -#include <sys/vnode.h> +#include <sys/time.h> #include <sys/uio.h> -#include <sys/mount.h> -#include <sys/namei.h> -#include <sys/dirent.h> -#include <sys/malloc.h> +#include <sys/vnode.h> + #include <machine/reg.h> + #include <vm/vm_zone.h> + #include <miscfs/procfs/procfs.h> -#include <sys/pioctl.h> static int procfs_access __P((struct vop_access_args *)); static int procfs_badop __P((void)); diff --git a/sys/fs/smbfs/smbfs_node.c b/sys/fs/smbfs/smbfs_node.c index 0d98605c4a97..35be6a3763a1 100644 --- a/sys/fs/smbfs/smbfs_node.c +++ b/sys/fs/smbfs/smbfs_node.c @@ -34,22 +34,24 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/time.h> -#include <sys/proc.h> -#include <sys/mount.h> -#include <sys/vnode.h> +#include <sys/lock.h> #include <sys/malloc.h> -#include <sys/sysctl.h> -#include <vm/vm.h> -#include <vm/vm_extern.h> -/*#include <vm/vm_page.h> -#include <vm/vm_object.h>*/ +#include <sys/mount.h> +#include <sys/proc.h> #include <sys/queue.h> +#include <sys/sysctl.h> +#include <sys/time.h> +#include <sys/vnode.h> #include <netsmb/smb.h> #include <netsmb/smb_conn.h> #include <netsmb/smb_subr.h> +#include <vm/vm.h> +#include <vm/vm_extern.h> +/*#include <vm/vm_page.h> +#include <vm/vm_object.h>*/ + #include <fs/smbfs/smbfs.h> #include <fs/smbfs/smbfs_node.h> #include <fs/smbfs/smbfs_subr.h> diff --git a/sys/fs/umapfs/umap_subr.c b/sys/fs/umapfs/umap_subr.c index 9b9806e3345b..1f94d504b326 100644 --- a/sys/fs/umapfs/umap_subr.c +++ b/sys/fs/umapfs/umap_subr.c @@ -40,9 +40,11 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/vnode.h> -#include <sys/mount.h> #include <sys/malloc.h> +#include <sys/mount.h> +#include <sys/proc.h> +#include <sys/vnode.h> + #include <miscfs/umapfs/umap.h> #define LOG2_SIZEVNODE 7 /* log2(sizeof struct vnode) */ diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c index abd1b0715cdb..e86467da5b68 100644 --- a/sys/fs/umapfs/umap_vfsops.c +++ b/sys/fs/umapfs/umap_vfsops.c @@ -46,10 +46,13 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/vnode.h> +#include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mount.h> +#include <sys/mutex.h> #include <sys/namei.h> -#include <sys/malloc.h> +#include <sys/vnode.h> + #include <miscfs/umapfs/umap.h> static MALLOC_DEFINE(M_UMAPFSMNT, "UMAP mount", "UMAP mount structure"); diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c index 669a9ae7a699..5bf29c8b089b 100644 --- a/sys/fs/umapfs/umap_vnops.c +++ b/sys/fs/umapfs/umap_vnops.c @@ -44,11 +44,13 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/sysctl.h> -#include <sys/vnode.h> +#include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mount.h> #include <sys/namei.h> -#include <sys/malloc.h> +#include <sys/sysctl.h> +#include <sys/vnode.h> + #include <miscfs/umapfs/umap.h> #include <miscfs/nullfs/null.h> diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c index 71eae9cade52..b4f2802c69ac 100644 --- a/sys/fs/unionfs/union_subr.c +++ b/sys/fs/unionfs/union_subr.c @@ -40,20 +40,23 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/kernel.h> -#include <sys/vnode.h> -#include <sys/namei.h> -#include <sys/malloc.h> #include <sys/fcntl.h> #include <sys/file.h> #include <sys/filedesc.h> +#include <sys/kernel.h> +#include <sys/lock.h> +#include <sys/malloc.h> #include <sys/module.h> #include <sys/mount.h> +#include <sys/namei.h> #include <sys/stat.h> +#include <sys/vnode.h> + #include <vm/vm.h> #include <vm/vm_extern.h> /* for vnode_pager_setsize */ #include <vm/vm_zone.h> #include <vm/vm_object.h> /* for vm cache coherency */ + #include <miscfs/union/union.h> #include <sys/proc.h> |
