Page MenuHomeFreeBSD

Fix vnode locking bug in fuse_vnop_copy_file_range
ClosedPublic

Authored by asomers on Jan 3 2021, 3:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 5, 10:25 PM
Unknown Object (File)
Mon, Oct 5, 1:50 AM
Unknown Object (File)
Sun, Oct 4, 11:41 AM
Unknown Object (File)
Fri, Oct 2, 9:19 PM
Unknown Object (File)
Sep 12 2026, 3:59 PM
Unknown Object (File)
Sep 10 2026, 10:03 PM
Unknown Object (File)
Sep 8 2026, 9:04 PM
Unknown Object (File)
Sep 6 2026, 1:05 PM
Subscribers

Details

Summary
Test Plan

fusefs test suite with DEBUG_VFS_LOCKS

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35902
Build 32791: arc lint + arc unit

Event Timeline

sys/fs/fuse/fuse_vnops.c
681–722

Need goto unlock instead of return (err); to avoid leaking the locks, I think.

  • Don't leak locks on fufh lookup failure
This revision is now accepted and ready to land.Jan 3 2021, 4:49 PM