opnsense-src/sys/fs/msdosfs
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
..
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-23 11:47:58 +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-23 11:47:58 +01:00
msdosfs_fat.c fs/msdosfs fatblock: use ulmin() rather than min() 2024-03-01 06:12:02 +02:00
msdosfs_iconv.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
msdosfs_lookup.c msdosfs: return ENOENT if looking up invalid name for OPEN or DELETE 2024-09-01 03:53:36 +03:00
msdosfs_vfsops.c msdosfs: fix cluster limit when mounting FAT-16 file systems 2024-08-15 21:05:08 +02:00
msdosfs_vnops.c fs: Add static asserts for the size of fid structures 2024-12-20 14:07:12 -08:00
msdosfsmount.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00