Page MenuHomeFreeBSD

fusefs: fix a panic in vop_close with a CTL consumer
Needs ReviewPublic

Authored by asomers on Fri, Dec 20, 6:37 PM.

Details

Reviewers
emaste
Group Reviewers
cam
Summary

Kernel consumers like CTL may lack ucred objects. That led to a panic
when CTL closed a fuse file, if atime was enabled on the mountpoint.
Fix it by checking the ucred during close.

PR: 283402
MFC after: 2 weeks
Sponsored by: ConnectWise

Test Plan

ATF test case added

Diff Detail

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