HomeFreeBSD

fusefs: replace obsolete array idioms

Description

fusefs: replace obsolete array idioms

r345742 replaced fusefs's fufh array with a fufh list. But it left a few
array idioms in place. This commit replaces those idioms with more
efficient list idioms. One location is in fuse_filehandle_close, which now
takes a pointer argument. Three other locations are places that had to loop
over all of a vnode's fuse filehandles.

Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on
Parents
rS345765: Fix and simplify code by using ATF_REQUIRE_FEATURE macro
Branches
Unknown
Tags
Unknown