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 13, 3:13 PM
Unknown Object (File)
Fri, Feb 13, 8:53 AM
Unknown Object (File)
Fri, Feb 13, 4:42 AM
Unknown Object (File)
Fri, Feb 13, 2:46 AM
Unknown Object (File)
Thu, Feb 12, 4:06 PM
Unknown Object (File)
Wed, Feb 11, 9:04 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 Not Applicable
Unit
Tests Not Applicable