mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
As the 'gen' field in 'struct tarfs_node' (and then 'struct tarfs_fid') is filled with arc4random() which returns an unsigned int, change its type in both structures. This allows reordering fields in 'struct tarfs_fid' to reduce its size, finally avoiding the use of '__packed' to ensure it fits into 'struct fid'. While here, remove the 'data0' field which wasn't necessary from the start. Reviewed by: markj, rmacklem, des Approved by: markj (mentor) MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D47954 (cherry picked from commit cf0ede720391de986e350f23229da21c13bc7e9d) Sponsored by: The FreeBSD Foundation |
||
|---|---|---|
| .. | ||
| tarfs.h | ||
| tarfs_dbg.h | ||
| tarfs_io.c | ||
| tarfs_subr.c | ||
| tarfs_vfsops.c | ||
| tarfs_vnops.c | ||