1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/sys/ufs/ffs
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_alloc.c Increase UFS/FFS maximum link count from 32767 to 65530. 2023-12-03 12:40:29 -08:00
ffs_balloc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ffs_extern.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ffs_inode.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ffs_rawread.c proc: Remove kernel stack swapping support, part 7 2024-07-29 01:43:49 +00:00
ffs_snapshot.c buf: Add a runningbufclaim() helper 2024-11-22 14:03:40 +00:00
ffs_softdep.c SU+J: all writes to SU journal must be exempt from runningbufspace throttling 2024-11-13 21:35:03 +02:00
ffs_subr.c Eliminate unnecessary UFS1 integrity checks. 2024-02-19 16:17:05 -08:00
ffs_suspend.c uio: Use switch statements when handling UIO_READ vs UIO_WRITE 2024-05-10 13:43:36 -07:00
ffs_tables.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ffs_vfsops.c buf: Add a runningbufclaim() helper 2024-11-22 14:03:40 +00:00
ffs_vnops.c fs: Add static asserts for the size of fid structures 2024-12-05 17:56:23 -08:00
fs.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
softdep.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00