FreeBSD: g/c unused vop vector zfsctl_ops_shares_dir

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #11066
This commit is contained in:
Mateusz Guzik 2020-10-15 05:07:02 +00:00 committed by Brian Behlendorf
parent dff71c7936
commit 34cda44af6
1 changed files with 1 additions and 3 deletions

View File

@ -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));
}