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
Differential D34336
fusefs: fix a cached attributes bug during directory rename asomers on Feb 22 2022, 5:02 AM. Authored by Tags None Referenced Files
Subscribers
Details When renaming a directory into a different parent directory, invalidate MFC after: 1 week test case added
Diff Detail
Event TimelineComment Actions Hehe, yeah. C++ that's not actually C is surprisingly uncommon. BTW, did you see the related PR at https://github.com/pjd/pjdfstest/pull/58 ? |