HomeFreeBSD

fusefs: fix FUSE_CREATE with file handles and fuse protocol < 7.9

Description

fusefs: fix FUSE_CREATE with file handles and fuse protocol < 7.9

Prior to fuse protocol version 7.9, the fuse_entry_out structure had a
smaller size. But fuse_vnop_create did not take that into account when
working with servers that use older protocols. The bug does not matter
for servers which don't use file handles or open flags (the only fields
affected).

PR: 263625
Submitted by: Ali Abdallah <ali.abdallah@suse.com>

(cherry picked from commit 45825a12f9851213e627cf41398706bacb793f83)

Details

Provenance
asomersAuthored on Apr 28 2022, 9:13 PM
Parents
rGf7896015fcde: ctlstat: add prometheus output
Branches
Unknown
Tags
Unknown