fuse: dedup vnode type

2016-08-12 Thread Martin Natano
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. Ok? natano Index:

Re: fuse: dedup vnode type

2016-08-12 Thread Martin Natano
> Index: miscfs/fuse/fusefs_node.h > === > RCS file: /cvs/src/sys/miscfs/fuse/fusefs_node.h,v > retrieving revision 1.2 > diff -u -p -r1.2 fusefs_node.h > --- miscfs/fuse/fusefs_node.h 1 Feb 2014 09:30:38 - 1.2 > +++