]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only clear latch for BENEATH when we walk out of the startdir,
authorkib <kib@FreeBSD.org>
Tue, 22 Sep 2020 22:36:02 +0000 (22:36 +0000)
committerkib <kib@FreeBSD.org>
Tue, 22 Sep 2020 22:36:02 +0000 (22:36 +0000)
commitbec22c30f302afda56553a47ef885cc25c6f98a2
treead31e0323d795ed47e7cbe6ff512159b1f1f52a0
parentb9fa0626624669ee49a549cf6c4f82bfe7825b2a
Only clear latch for BENEATH when we walk out of the startdir,

not unconditionally on any dotdot component.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D25886
sys/kern/vfs_lookup.c