freebsd-skq/sys/fs
Doug Moore f9f4c60aa7 Including <sys/tmpfs.h> into non-kernel software leads to a
compilation error because, without _KERNEL defined, the macro
TMPFS_VALIDATE_DIR is invoked, but never defined. User-level software
that includes sys/tmpfs.h must define _KERNEL to make the definition
of TMPFS_VALIDATE_DIR visible.

This change puts all the inline functions that, directly or
indirectly, invoke MPASS into the scope of the _KERNEL block, allowing
many user-space includers of <sys/tmpfs.h> to stop defining _KERNEL.

Reviewed by:	alc, kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D22874
2019-12-19 16:39:52 +00:00
..
autofs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
cd9660 vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
cuse Free all allocated unit IDs in cuse(3) after the client character 2019-06-25 11:46:01 +00:00
deadfs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
devfs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
ext2fs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
fdescfs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
fifofs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
fuse vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
msdosfs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
nfs Add support for NFSv4.2 to the NFS client and server. 2019-12-12 23:22:55 +00:00
nfsclient vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
nfsserver Silence some "might not be initialized" warnings for riscv64. 2019-12-13 21:38:08 +00:00
nullfs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
procfs Define macro VM_MAP_ENTRY_FOREACH for enumerating the entries in a vm_map. 2019-10-08 07:14:21 +00:00
pseudofs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
smbfs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
tmpfs Including <sys/tmpfs.h> into non-kernel software leads to a 2019-12-19 16:39:52 +00:00
udf vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
unionfs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00