Page MenuHomeFreeBSD

diff: Improve directory loop detection
ClosedPublic

Authored by des on Wed, Feb 11, 2:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 20, 6:32 AM
Unknown Object (File)
Thu, Feb 19, 10:54 PM
Unknown Object (File)
Tue, Feb 17, 6:32 PM
Unknown Object (File)
Tue, Feb 17, 9:54 AM
Unknown Object (File)
Tue, Feb 17, 7:17 AM
Unknown Object (File)
Tue, Feb 17, 7:17 AM
Unknown Object (File)
Tue, Feb 17, 7:17 AM
Unknown Object (File)
Sun, Feb 15, 5:53 PM
Subscribers

Details

Summary

When we're done processing a directory, remove its entry from the tree
of visited inodes, ensuring that we only report a loop when we encounter
a descendant-to-ancestor link, not when we encounter a cousin-to-cousin
or sibling-to-sibling link.

MFC after: 1 week
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70622
Build 67505: arc lint + arc unit

Event Timeline

des requested review of this revision.Wed, Feb 11, 2:29 PM
This revision is now accepted and ready to land.Wed, Feb 11, 2:39 PM
This revision now requires review to proceed.Wed, Feb 11, 2:45 PM
This revision is now accepted and ready to land.Wed, Feb 11, 3:13 PM
This revision was automatically updated to reflect the committed changes.