mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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:
parent
dff71c7936
commit
34cda44af6
@ -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));
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user