HomeFreeBSD

tarfs: Fix the size of struct tarfs_fid and add a static assert

Description

tarfs: Fix the size of struct tarfs_fid 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 packs the structure and checks via a __Static_assert().

Reviewed by: markj
MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on Fri, Dec 6, 2:09 AM
Parents
rGbd6cd409a955: x86: remove LOCORE: No longer needed
Branches
Unknown
Tags
Unknown