HomeFreeBSD

fusefs: fix some resource leaks

Description

fusefs: fix some resource leaks

fusefs would leak tickets in three cases:

  • After FUSE_CREATE, if the server returned a bad inode number.
  • After a FUSE_FALLOCATE operation during VOP_ALLOCATE
  • After a FUSE_FALLOCATE operation during VOP_DEALLOCATE

MFC after: 3 days
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D38526

Details

Provenance
asomersAuthored on Feb 11 2023, 11:43 PM
Reviewer
emaste
Differential Revision
D38526: fusefs: fix some resource leaks
Parents
rG7b0593fdcbbb: Cirrus-CI: use makefs if root size exceeds QEMU's virtual FAT limit
Branches
Unknown
Tags
Unknown