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)
Mar 5 2025, 2:38 PM
Unknown Object (File)
Feb 22 2025, 5:47 AM
Unknown Object (File)
Feb 21 2025, 7:06 PM
Unknown Object (File)
Feb 21 2025, 3:12 PM
Unknown Object (File)
Feb 9 2025, 8:16 PM
Unknown Object (File)
Feb 5 2025, 3:20 AM
Unknown Object (File)
Feb 4 2025, 9:10 AM
Unknown Object (File)
Feb 2 2025, 9:29 AM
Subscribers

Details

Summary
Test Plan

fusefs test suite with DEBUG_VFS_LOCKS

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/fs/fuse/fuse_vnops.c
685–726

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