HomeFreeBSD

ffs_vnops: Simplify extattr access

Description

ffs_vnops: Simplify extattr access

As suggested in r167010, use the structure type and macros to access and
modify UFS2 extended attributes. Add assertions that pointers are
aligned in places where we now access the data through a structure
pointer, instead of character-by-character.

PR: 216127
Reported by: dewayne at heuristicsystems.com.au
Reviewed by: kib@
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D9225

Details

Provenance
cemAuthored on
Differential Revision
D9225: ffs_vnops: Simplify extattr access
Parents
rS312415: MFC r310417
Branches
Unknown
Tags
Unknown