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)
Thu, Oct 23, 7:12 AM
Unknown Object (File)
Mon, Oct 20, 7:29 AM
Unknown Object (File)
Fri, Oct 17, 11:36 PM
Unknown Object (File)
Fri, Oct 17, 6:16 PM
Unknown Object (File)
Fri, Oct 17, 2:04 PM
Unknown Object (File)
Fri, Oct 17, 2:04 PM
Unknown Object (File)
Fri, Oct 17, 2:04 PM
Unknown Object (File)
Fri, Oct 17, 11:43 AM
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 35911
Build 32800: 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