Page MenuHomeFreeBSD

unionfs_lock(): eliminate LK_CANRECURSE special-case
ClosedPublic

Authored by jah on Aug 15 2026, 4:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 24, 8:24 PM
Unknown Object (File)
Thu, Sep 24, 7:03 AM
Unknown Object (File)
Thu, Sep 24, 6:07 AM
Unknown Object (File)
Thu, Sep 24, 4:41 AM
Unknown Object (File)
Tue, Sep 22, 9:34 PM
Unknown Object (File)
Mon, Sep 21, 4:20 PM
Unknown Object (File)
Mon, Sep 21, 3:52 PM
Unknown Object (File)
Wed, Sep 16, 3:24 AM
Subscribers

Details

Summary

As of commit 9f5c4ef328 ("dounmount(9): temporarily enable recursion
for the covered vnode lock"), the unmount path handles recursion
automatically, so there's no longer a need to handle this case
in unionfs-specific code.

dounmount(): generalize comment on covered vnode lock recursion

The need for recursion applies (in somewhat different form) to both
nullfs and unionfs, and would likely apply to any other hypothetical
stacked filesystem as well.

unionfs_noderem(): fix typo

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 75608
Build 72491: arc lint + arc unit