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
This commit is contained in:
riastradh 2020-02-23 05:50:25 +00:00
parent 896ddeb466
commit 5b7c5828ba

View File

@ -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 }