freebsd-skq/sys/fs/tmpfs
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
..
tmpfs_fifoops.c vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
tmpfs_fifoops.h sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
tmpfs_subr.c Add a deferred free mechanism for freeing swap space that does not require 2019-12-15 03:15:06 +00:00
tmpfs_vfsops.c Stop using per-mount tmpfs zones. 2019-12-05 00:03:17 +00:00
tmpfs_vnops.c vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
tmpfs_vnops.h Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00
tmpfs.h Including <sys/tmpfs.h> into non-kernel software leads to a 2019-12-19 16:39:52 +00:00