From 96b0a45ea12edba620ee364dbd7aeaf151198f7d Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sat, 15 Feb 2020 04:35:27 +0000 Subject: [PATCH] Teach zfs to revoke vnodes the usual way. --- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c index 481ae07516a5..78118f190cfb 100644 --- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c +++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c @@ -6309,6 +6309,7 @@ const struct vnodeopv_entry_desc zfs_vnodeop_entries[] = { { &vop_ioctl_desc, zfs_netbsd_ioctl }, { &vop_poll_desc, genfs_poll }, { &vop_kqfilter_desc, genfs_kqfilter }, + { &vop_revoke_desc, genfs_revoke }, { &vop_fsync_desc, zfs_netbsd_fsync }, { &vop_remove_desc, zfs_netbsd_remove }, { &vop_link_desc, zfs_netbsd_link }, @@ -6353,6 +6354,7 @@ const struct vnodeopv_entry_desc zfs_specop_entries[] = { { &vop_ioctl_desc, spec_ioctl }, { &vop_poll_desc, spec_poll }, { &vop_kqfilter_desc, spec_kqfilter }, + { &vop_revoke_desc, spec_revoke }, { &vop_fsync_desc, zfs_netbsd_fsync }, { &vop_remove_desc, spec_remove }, { &vop_link_desc, spec_link }, @@ -6397,6 +6399,7 @@ const struct vnodeopv_entry_desc zfs_fifoop_entries[] = { { &vop_ioctl_desc, vn_fifo_bypass }, { &vop_poll_desc, vn_fifo_bypass }, { &vop_kqfilter_desc, vn_fifo_bypass }, + { &vop_revoke_desc, vn_fifo_bypass }, { &vop_fsync_desc, zfs_netbsd_fsync }, { &vop_remove_desc, vn_fifo_bypass }, { &vop_link_desc, vn_fifo_bypass },