HomeFreeBSD

unionfs: do not use bare struct componentname

Description

unionfs: do not use bare struct componentname

Allocate nameidata on stack and NDPREINIT() it, for compatibility with
assumptions from other filesystems' lookup code.

Reviewed by: mckusick
Discussed with: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D30041

Details

Provenance
kibAuthored on Jun 14 2021, 6:45 PM
Reviewer
mckusick
Differential Revision
D30041: ufs: avoid unneeded calls to softdep_prerename() and softdep_prelink()
Parents
rG802cf4ab0ee9: namei: add NDPREINIT() macro
Branches
Unknown
Tags
Unknown