zfs: fix snapshot dir destruction after introducion of VOP_NEED_INACTIVE
Reported by: lwhsu PR: 240221 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e30a1788fa
commit
e9fff745a7
@ -1247,6 +1247,7 @@ zfsctl_snapshot_vptocnp(struct vop_vptocnp_args *ap)
|
||||
static struct vop_vector zfsctl_ops_snapshot = {
|
||||
.vop_default = NULL, /* ensure very restricted access */
|
||||
.vop_inactive = zfsctl_snapshot_inactive,
|
||||
.vop_need_inactive = vop_stdneed_inactive,
|
||||
.vop_reclaim = zfsctl_snapshot_reclaim,
|
||||
.vop_vptocnp = zfsctl_snapshot_vptocnp,
|
||||
.vop_lock1 = vop_stdlock,
|
||||
|
Loading…
x
Reference in New Issue
Block a user