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 21, 1:27 PM
Unknown Object (File)
Thu, Oct 17, 7:57 PM
Unknown Object (File)
Tue, Oct 15, 7:08 AM
Unknown Object (File)
Sep 21 2024, 11:56 PM
Unknown Object (File)
Sep 21 2024, 5:36 AM
Unknown Object (File)
Sep 20 2024, 11:52 PM
Unknown Object (File)
Sep 20 2024, 4:11 PM
Unknown Object (File)
Sep 16 2024, 12:16 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