git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rebase master to b105
[zfs.git]
/
module
/
zfs
/
spa_config.c
diff --git
a/module/zfs/spa_config.c
b/module/zfs/spa_config.c
index
ee425a9
..
252869d
100644
(file)
--- a/
module/zfs/spa_config.c
+++ b/
module/zfs/spa_config.c
@@
-208,6
+208,9
@@
spa_config_sync(spa_t *target, boolean_t removing, boolean_t postsysevent)
ASSERT(MUTEX_HELD(&spa_namespace_lock));
+ if (rootdir == NULL)
+ return;
+
/*
* Iterate over all cachefiles for the pool, past or present. When the
* cachefile is changed, the new one is pushed onto this list, allowing