summaryrefslogtreecommitdiffstats
path: root/module/zfs/unique.c
diff options
context:
space:
mode:
authorTurbo Fredriksson <[email protected]>2015-07-27 17:09:02 +0200
committerBrian Behlendorf <[email protected]>2015-07-28 13:29:28 -0700
commit21d41d6806edce8217dfd5d16e74a6a8a4f5fe1b (patch)
tree5b310d1bcc0b2e2fe68cbe2bf2aa904546f87f25 /module/zfs/unique.c
parent48511ea6454224bc96ac518501a89ba52d7a5102 (diff)
Make sure that POOL_IMPORTED is set, unset and checked where appropriate.
* If it's unset in find_rootfs(), no pool is imported so no point in looking for a rootfs. * If find_rootfs() couldn't find a rootfs, the pool is exported. Remember to unset POOL_IMPORTED after doing so. * Set POOL_IMPORTED if/when a pool have been imported in import_pool(). * Improve backup import (the one using cache file). Signed-off-by: Turbo Fredriksson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #3636
Diffstat (limited to 'module/zfs/unique.c')
0 files changed, 0 insertions, 0 deletions