Illumos 1778 - Assertion failed: rn->rn_nozpool == B_FALSE

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>
This commit is contained in:
Andrew Stormont 2016-01-20 16:37:10 -08:00 committed by Brian Behlendorf
parent 0fdd8d6482
commit ee42b3d6c3

View File

@ -22,6 +22,7 @@
* Copyright 2015 Nexenta Systems, Inc. All rights reserved. * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012 by Delphix. 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_config = config;
rn->rn_num_labels = num_labels; rn->rn_num_labels = num_labels;
if (config != NULL) {
assert(rn->rn_nozpool == B_FALSE);
}
} }
/* /*