]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
unionfs: do not use bare struct componentname
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 14 Jun 2021 18:45:23 +0000 (21:45 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 23 Jun 2021 20:46:15 +0000 (23:46 +0300)
commit190110f2eba1551793f290a9f01e52ffe015a5da
tree244944755494ae9a0097b10adf76f4722d3e1e91
parent802cf4ab0ee9cae7af523cfcf1221febd2143210
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
sys/fs/unionfs/union_subr.c