Use struct stat for storing attributes in fusebufs, because using struct
authornatano <natano@openbsd.org>
Tue, 30 Aug 2016 16:45:54 +0000 (16:45 +0000)
committernatano <natano@openbsd.org>
Tue, 30 Aug 2016 16:45:54 +0000 (16:45 +0000)
commit6f9b594291a08bb8ef9193202bf248be575aca61
tree853fa88a7e3a15dc7053d8110dfecc3c00e22326
parent40e1458953e8616e6c0cce8de8d396c537182a46
Use struct stat for storing attributes in fusebufs, because using struct
vattr in userspace is suboptimal as some related helpers are not
available, e.g. VATTR_NULL() and IFTOVT(). The conversion is now done in
the kernel where it belongs. As a side effect the <sys/vnode.h> include
can be removed from libfuse.

tweaks and ok guenther
lib/libfuse/fuse_ops.c
lib/libfuse/fuse_private.h
share/man/man9/fb_setup.9
sys/miscfs/fuse/fuse_device.c
sys/miscfs/fuse/fuse_file.c
sys/miscfs/fuse/fuse_lookup.c
sys/miscfs/fuse/fuse_vfsops.c
sys/miscfs/fuse/fuse_vnops.c
sys/miscfs/fuse/fusebuf.c
sys/sys/fusebuf.h