From ee42b3d6c3e4bd16d87b75e92a2bdec5cb85cd77 Mon Sep 17 00:00:00 2001 From: Andrew Stormont Date: Wed, 20 Jan 2016 16:37:10 -0800 Subject: [PATCH] Illumos 1778 - Assertion failed: rn->rn_nozpool == B_FALSE 1778 Assertion failed: rn->rn_nozpool == B_FALSE Reviewed by: Matthew Ahrens Reviewed by: George Wilson Reviewed by: Richard Elling Approved by: Gordon Ross References: https://www.illumos.org/issues/1778 https://github.com/illumos/illumos-gate/commit/bd0f709 Ported-by: Brian Behlendorf --- lib/libzfs/libzfs_import.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/libzfs/libzfs_import.c b/lib/libzfs/libzfs_import.c index a834c3ea999a..d71f343a0d01 100644 --- a/lib/libzfs/libzfs_import.c +++ b/lib/libzfs/libzfs_import.c @@ -22,6 +22,7 @@ * Copyright 2015 Nexenta Systems, Inc. All rights reserved. * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012 by Delphix. All rights reserved. + * Copyright 2015 RackTop Systems. */ /* @@ -1168,9 +1169,6 @@ zpool_open_func(void *arg) rn->rn_config = config; rn->rn_num_labels = num_labels; - if (config != NULL) { - assert(rn->rn_nozpool == B_FALSE); - } } /*