HomeFreeBSD

fusefs: set the flags fields of fuse_write_in and fuse_read_in

Description

fusefs: set the flags fields of fuse_write_in and fuse_read_in

These fields are supposed to contain the file descriptor flags as supplied
to open(2) or set by fcntl(2). The feature is kindof useless on FreeBSD
since we don't supply all of these flags to fuse (because of the weak
relationship between struct file and struct vnode). But we should at least
set the access mode flags (O_RDONLY, etc).

This is the last fusefs change needed to get full protocol 7.9 support.
There are still a few options we don't support for good reason (mandatory
file locking is dumb, flock support is broken in the protocol until 7.17,
etc), but there's nothing else to do at this protocol level.

Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on
Parents
rS348318: Reduce the code size and number of ffsl calls in vm_reserv_break. Use
Branches
Unknown
Tags
Unknown