mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <ryan@ixsystems.com> Closes #11973
This commit is contained in:
committed by
Brian Behlendorf
parent
910b43310f
commit
5701e393b7
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user