Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs Teach zfs to revo...



details:   https://anonhg.NetBSD.org/src/rev/4b7b11002cb8
branches:  trunk
changeset: 744889:4b7b11002cb8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Feb 15 19:03:15 2020 +0000

description:
Teach zfs to revoke vnodes the usual way.

XXX pullup

diffstat:

 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (27 lines):

diff -r 8c8d23a1cb87 -r 4b7b11002cb8 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Sat Feb 15 18:12:14 2020 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Sat Feb 15 19:03:15 2020 +0000
@@ -6309,6 +6309,7 @@
        { &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 @@
        { &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 @@
        { &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 },



Home | Main Index | Thread Index | Old Index