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
F133137496: D27938.id81568.diff
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
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