From 5b7c5828ba788e0b285e4a5c41a391c42b88670c Mon Sep 17 00:00:00 2001 From: riastradh Date: Sun, 23 Feb 2020 05:50:25 +0000 Subject: [PATCH] Teach zfs spec nodes to VOP_BWRITE too. Fixes hang on writing to, e.g., ffs mounted on a device node that lives on zfs. XXX pullup --- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c | 1 + 1 file changed, 1 insertion(+) 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 b0ddae20d7d0..78db1db5f51e 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 @@ -6376,6 +6376,7 @@ const struct vnodeopv_entry_desc zfs_specop_entries[] = { { &vop_islocked_desc, zfs_netbsd_islocked }, { &vop_advlock_desc, spec_advlock }, { &vop_strategy_desc, spec_strategy }, + { &vop_bwrite_desc, spec_bwrite }, { &vop_print_desc, zfs_netbsd_print }, { &vop_fcntl_desc, zfs_netbsd_fcntl }, { NULL, NULL }