opnsense-src/sys/fs/msdosfs
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
..
bootsect.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
bpb.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
denode.h msdosfs: fix potential inode collision on FAT12 and FAT16 2024-02-20 13:02:24 +01:00
direntry.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
fat.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
msdosfs_conv.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
msdosfs_denode.c msdosfs: fix potential inode collision on FAT12 and FAT16 2024-02-20 13:02:24 +01:00
msdosfs_fat.c fs/msdosfs fatblock: use ulmin() rather than min() 2024-02-23 19:37:52 +02:00
msdosfs_iconv.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
msdosfs_lookup.c msdosfs: return ENOENT if looking up invalid name for OPEN or DELETE 2024-08-25 17:50:53 +03:00
msdosfs_vfsops.c msdosfs: fix cluster limit when mounting FAT-16 file systems 2024-08-09 19:26:27 +02:00
msdosfs_vnops.c fs: Add static asserts for the size of fid structures 2024-12-05 17:56:23 -08:00
msdosfsmount.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00