HomeFreeBSD

ext2fs: Fix the size of struct ufid and add a static assert

Description

ext2fs: Fix the size of struct ufid and add a static assert

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 packed the structure and checks via a __Static_assert().

Reviewed by: markj
MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on Dec 6 2024, 2:05 AM
Parents
rG91b5592a1e1a: fs: Add static asserts for the size of fid structures
Branches
Unknown
Tags
Unknown