FreeBSD Bugzilla – Attachment 222658 Details for
Bug 252396
[zfs] [panic] Panic on 'bectl list' after slog removal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix panix after slog removal
slog-fix.patch (text/plain), 761 bytes, created by
Robert Wing
on 2021-02-20 05:54:00 UTC
(
hide
)
Description:
fix panix after slog removal
Filename:
MIME Type:
Creator:
Robert Wing
Created:
2021-02-20 05:54:00 UTC
Size:
761 bytes
patch
obsolete
>diff --git a/sys/contrib/openzfs/module/zfs/vdev.c b/sys/contrib/openzfs/module/zfs/vdev.c >index 36001e0a6626..553e470ad461 100644 >--- a/sys/contrib/openzfs/module/zfs/vdev.c >+++ b/sys/contrib/openzfs/module/zfs/vdev.c >@@ -2527,7 +2527,7 @@ vdev_hold(vdev_t *vd) > for (int c = 0; c < vd->vdev_children; c++) > vdev_hold(vd->vdev_child[c]); > >- if (vd->vdev_ops->vdev_op_leaf) >+ if (vd->vdev_ops->vdev_op_leaf && vd->vdev_ops->vdev_op_hold != NULL) > vd->vdev_ops->vdev_op_hold(vd); > } > >@@ -2538,7 +2538,7 @@ vdev_rele(vdev_t *vd) > for (int c = 0; c < vd->vdev_children; c++) > vdev_rele(vd->vdev_child[c]); > >- if (vd->vdev_ops->vdev_op_leaf) >+ if (vd->vdev_ops->vdev_op_leaf && vd->vdev_ops->vdev_op_rele != NULL) > vd->vdev_ops->vdev_op_rele(vd); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252396
: 222658