opnsense-src/sys/fs/tmpfs
Rick Macklem 91b5592a1e fs: Add static asserts for the size of fid structures
File system specific *fid structures are copied into the generic
struct fid defined in sys/mount.h.
As such, they cannot be larger than struct fid.

This patch adds _Static_assert()s to check for this.

ZFS and fuse already have _Static_assert()s.

Reviewed by:	imp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D47936
2024-12-05 17:56:23 -08:00
..
tmpfs.h tmpfs: Account for whiteouts during rename/rmdir 2024-09-08 18:34:15 -05:00
tmpfs_fifoops.c sys: Remove $FreeBSD$: two-line .c pattern 2023-08-16 11:54:30 -06:00
tmpfs_fifoops.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
tmpfs_subr.c tmpfs: Account for whiteouts during rename/rmdir 2024-09-08 18:34:15 -05:00
tmpfs_vfsops.c vm: Remove kernel stack swapping support, part 3 2024-07-29 01:39:49 +00:00
tmpfs_vnops.c fs: Add static asserts for the size of fid structures 2024-12-05 17:56:23 -08:00
tmpfs_vnops.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00