Page MenuHomeFreeBSD

fusefs: fix some minor issues with fuse_vnode_setparent
ClosedPublic

Authored by asomers on Sep 13 2019, 1:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 17, 10:11 PM
Unknown Object (File)
Dec 10 2024, 6:33 PM
Unknown Object (File)
Nov 25 2024, 12:03 PM
Unknown Object (File)
Nov 18 2024, 2:56 AM
Unknown Object (File)
Nov 17 2024, 9:41 PM
Unknown Object (File)
Nov 11 2024, 8:17 AM
Unknown Object (File)
Oct 28 2024, 1:40 PM
Unknown Object (File)
Oct 4 2024, 3:32 PM
Subscribers

Details

Summary

fusefs: fix some minor issues with fuse_vnode_setparent

  • When unparenting a vnode, actually clear the flag. AFAIK this is basically a no-op because we only unparent a vnode when reclaiming it or when unlinking.
  • There's no need to call fuse_vnode_setparent during reclaim, because we're about to free the vnode data anyway.
Test Plan

Ran the builtin test suite and pjdfstest

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable