vn_open(9) does not pass the open(2) flags to VOP_CREATE(9) so we can't
authorhelg <helg@openbsd.org>
Thu, 30 Nov 2017 11:29:03 +0000 (11:29 +0000)
committerhelg <helg@openbsd.org>
Thu, 30 Nov 2017 11:29:03 +0000 (11:29 +0000)
commiteedad28e9275b1a1371be362f2e010287ee21920
tree4aad1167751178e26732b7f775fed69120544e9b
parent5f0569b533d71b4ec9dc1fa14ba505748af1b849
vn_open(9) does not pass the open(2) flags to VOP_CREATE(9) so we can't
support FBT_CREATE. Fall back to FBT_MKNOD + FBT_OPEN so that a valid
sequence of FUSE messages is sent to the file system when creating files.

input from mpi@, otto@
lib/libfuse/fuse_ops.c
share/man/man9/fb_setup.9
sys/miscfs/fuse/fuse_vnops.c
sys/sys/fusebuf.h