nfscommon: Clean up the code by not using the vnode_vtype() macro
The vnode_vtype() macro was used to make the code compatible with Mac OSX, for the Mac OSX port. For FreeBSD, this macro just obscured the code, so avoid using it to clean up the code. This commit should not result in a semantics change.
This commit is contained in:
parent
235d960aae
commit
1ebc14c900
@ -2691,7 +2691,7 @@ nfsv4_fillattr(struct nfsrv_descript *nd, struct mount *mp, vnode_t vp,
|
||||
* Recommended Attributes. (Only the supported ones.)
|
||||
*/
|
||||
case NFSATTRBIT_ACL:
|
||||
retnum += nfsrv_buildacl(nd, aclp, vnode_vtype(vp), p);
|
||||
retnum += nfsrv_buildacl(nd, aclp, vp->v_type, p);
|
||||
break;
|
||||
case NFSATTRBIT_ACLSUPPORT:
|
||||
NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED);
|
||||
|
Loading…
Reference in New Issue
Block a user