diff options
author | Ryan Moeller <[email protected]> | 2021-04-30 10:34:53 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-30 07:34:53 -0700 |
commit | 801c76149bab8598c3cd1a6689e1893ec2f91deb (patch) | |
tree | 8475199cf1d944b56118c96f34e4c202a9f8730b /include/os/freebsd/spl/sys/vnode.h | |
parent | 6f4e132fece3343ae62c3b0f79450fef2504f9cd (diff) |
FreeBSD: Prune some unneeded definitions
IS_XATTRDIR is never used.
v_count is only used in two places, one immediately followed by the
use of the real name, v_usecount.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #11973
Diffstat (limited to 'include/os/freebsd/spl/sys/vnode.h')
-rw-r--r-- | include/os/freebsd/spl/sys/vnode.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/os/freebsd/spl/sys/vnode.h b/include/os/freebsd/spl/sys/vnode.h index fa7bbd88c..3670712a0 100644 --- a/include/os/freebsd/spl/sys/vnode.h +++ b/include/os/freebsd/spl/sys/vnode.h @@ -66,13 +66,8 @@ typedef struct vop_vector vnodeops_t; #define vop_fid_args vop_vptofh_args #define a_fid a_fhp -#define IS_XATTRDIR(dvp) (0) - -#define v_count v_usecount - #define rootvfs (rootvnode == NULL ? NULL : rootvnode->v_mount) - #ifndef IN_BASE static __inline int vn_is_readonly(vnode_t *vp) |