From 8eb01d4f5cd803993fba1cf5ac1f3de93997ccbd Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sun, 23 Feb 2020 05:41:18 +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 9fec570260e3..9b74d8bdf623 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 @@ -6353,6 +6353,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 }