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.

Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D34336

(cherry picked from commit e8553be9bcfc2c0d78e9f379bd166dc0a9cae719)

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
rGc0d9004101db: Add serial-number to hw.fdt sysctl area if found in fdt.
Branches
Unknown
Tags
Unknown