Dedup vnode type information. Fuse stores the vnode type in two places:
authornatano <natano@openbsd.org>
Fri, 12 Aug 2016 20:18:44 +0000 (20:18 +0000)
committernatano <natano@openbsd.org>
Fri, 12 Aug 2016 20:18:44 +0000 (20:18 +0000)
commitaeb7f53982182dae810b53e9a2d29f74621998ff
tree176bad319020a16e84fa3403fa1b6fe4467dfe07
parentf889fa1ca4926d55564b74a96a66ee39f661a945
Dedup vnode type information. Fuse stores the vnode type in two places:
vtype in struct fusefs_node and v_type in struct vnode. Given the fact,
that fusefs_node structs are never allocated without an associated vnode
and those two fields are always in sync, one of those locations is
superfluous.

While there remove the unused nlookup field.

ok mpi
sys/miscfs/fuse/fuse_lookup.c
sys/miscfs/fuse/fuse_vfsops.c
sys/miscfs/fuse/fuse_vnops.c
sys/miscfs/fuse/fusefs_node.h