1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys/ufs
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
..
ffs fs: Add static asserts for the size of fid structures 2024-12-05 17:56:23 -08:00
ufs vfs: Add IGNOREWHITEOUT flag and adopt it in UFS/unionfs 2024-09-08 18:34:14 -05:00