opnsense-src/sys/fs/udf
Rick Macklem efe6a09973 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.

(cherry picked from commit 91b5592a1e1af97480d615cf508be05b5674d2f3)
2024-12-20 14:07:12 -08:00
..
ecma167-udf.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
osta.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
osta.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
udf.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
udf_iconv.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
udf_mount.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
udf_vfsops.c udf: uma_zcreate() does not fail 2024-05-02 09:25:08 -04:00
udf_vnops.c fs: Add static asserts for the size of fid structures 2024-12-20 14:07:12 -08:00