From 34cda44af61139582387a06fd2b8a7d1dfcedf64 Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Thu, 15 Oct 2020 05:07:02 +0000 Subject: FreeBSD: g/c unused vop vector zfsctl_ops_shares_dir Reviewed-by: Ryan Moeller Reviewed-by: Matt Macy Signed-off-by: Mateusz Guzik Closes #11066 --- module/os/freebsd/zfs/zfs_ctldir.c | 4 +--- 1 file changed, 1 insertion(+), 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)); } -- cgit v1.2.3