diff options
author | Ryan Moeller <[email protected]> | 2021-04-30 10:34:53 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-05-10 12:09:34 -0700 |
commit | 5701e393b7dabfbf0cbcd2a70c2f1fc795e4c7d4 (patch) | |
tree | f8b440d2b09ea3135bcd03452407476f9428d999 /include | |
parent | 910b43310f45abf13ddba2e35c05bb751b046073 (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')
-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) |