Skip to content

Commit

Permalink
Illumos 1778 - Assertion failed: rn->rn_nozpool == B_FALSE
Browse files Browse the repository at this point in the history
1778 Assertion failed: rn->rn_nozpool == B_FALSE
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: George Wilson <[email protected]>
Reviewed by: Richard Elling <[email protected]>
Approved by: Gordon Ross <[email protected]>

References:
  https://www.illumos.org/issues/1778
  illumos/illumos-gate@bd0f709

Signed-off-by: Brian Behlendorf <[email protected]>
  • Loading branch information
behlendorf committed Jan 21, 2016
1 parent e460471 commit cf1f598
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/libzfs/libzfs_import.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/

/*
Expand Down Expand Up @@ -1147,9 +1148,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);
}
}

/*
Expand Down

0 comments on commit cf1f598

Please sign in to comment.