diff options
author | Mateusz Guzik <[email protected]> | 2020-10-15 05:07:02 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-10-15 14:48:20 -0700 |
commit | 34cda44af61139582387a06fd2b8a7d1dfcedf64 (patch) | |
tree | b61537fa4af3e1910f3bcf1e715a97dded7668e2 /module | |
parent | dff71c793684fcf3a01495f24014797d7faaa88c (diff) |
FreeBSD: g/c unused vop vector zfsctl_ops_shares_dir
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Matt Macy <[email protected]>
Signed-off-by: Mateusz Guzik <[email protected]>
Closes #11066
Diffstat (limited to 'module')
-rw-r--r-- | module/os/freebsd/zfs/zfs_ctldir.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/module/os/freebsd/zfs/zfs_ctldir.c b/module/os/freebsd/zfs/zfs_ctldir.c index 5fd367b0c..393d61e52 100644 --- a/module/os/freebsd/zfs/zfs_ctldir.c +++ b/module/os/freebsd/zfs/zfs_ctldir.c @@ -314,7 +314,6 @@ sfs_readdir_common(uint64_t parent_id, uint64_t id, struct vop_readdir_args *ap, static struct vop_vector zfsctl_ops_root; static struct vop_vector zfsctl_ops_snapdir; static struct vop_vector zfsctl_ops_snapshot; -static struct vop_vector zfsctl_ops_shares_dir; void zfsctl_init(void) @@ -331,8 +330,7 @@ zfsctl_is_node(vnode_t *vp) { return (vn_matchops(vp, zfsctl_ops_root) || vn_matchops(vp, zfsctl_ops_snapdir) || - vn_matchops(vp, zfsctl_ops_snapshot) || - vn_matchops(vp, zfsctl_ops_shares_dir)); + vn_matchops(vp, zfsctl_ops_snapshot)); } |