HomeFreeBSD

fusefs: fix a cached attributes bug during directory rename

Description

fusefs: fix a cached attributes bug during directory rename

When renaming a directory into a different parent directory, invalidate
the cached attributes of the new parent. Otherwise, stat will show the
wrong st_nlink value.

MFC after: 1 week
Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D34336

Details

Provenance
asomersAuthored on Feb 22 2022, 5:00 AM
Reviewer
ngie
Differential Revision
D34336: fusefs: fix a cached attributes bug during directory rename
Parents
rG6979e8cb6e62: dtc: more mandoc -T lint fixes
Branches
Unknown
Tags
Unknown