]> granicus.if.org Git - zfs/commitdiff
Illumos 1778 - Assertion failed: rn->rn_nozpool == B_FALSE
authorAndrew Stormont <andyjstormont@gmail.com>
Thu, 21 Jan 2016 00:37:10 +0000 (16:37 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 23 Jan 2016 00:18:26 +0000 (16:18 -0800)
1778 Assertion failed: rn->rn_nozpool == B_FALSE
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Approved by: Gordon Ross <gordon.ross@nexenta.com>

References:
  https://www.illumos.org/issues/1778
  https://github.com/illumos/illumos-gate/commit/bd0f709

Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
lib/libzfs/libzfs_import.c

index a834c3ea999ac4c0a431137ecc750d370274a18e..d71f343a0d01dfb4d99b691fad733897bcb54867 100644 (file)
@@ -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);
-       }
 }
 
 /*