Skip to content

Commit 3a471e4

Browse files
Luke Beirnecalccrypto
authored andcommitted
Fixed assertion in Z.I.A
Removed an assertion in zia_open_vdevs that led to a failure in an edge case where disk_write and file_write were both enabled Signed-off-by: Luke Beirne <lbeirne@lanl.gov>
1 parent c01938b commit 3a471e4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

module/zfs/zia.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,6 @@ zia_fini(void)
296296
static void zia_open_vdevs_impl(vdev_t *vd) {
297297
vdev_ops_t *ops = vd->vdev_ops;
298298
if (ops->vdev_op_leaf) {
299-
ASSERT(!vd->vdev_zia_handle);
300-
301299
const size_t len = strlen(ops->vdev_op_type);
302300
if (len == 4) {
303301
if (memcmp(ops->vdev_op_type, "file", 4) == 0) {

0 commit comments

Comments
 (0)