Do not export pool to prevent cache from been removed

Signed-off-by: Derek Dai <daiderek@gmail.com>
Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2353
This commit is contained in:
Derek Dai 2014-06-02 01:27:58 +08:00 committed by Brian Behlendorf
parent 69c7bdb6e7
commit 7a870db1b9
1 changed files with 0 additions and 7 deletions

View File

@ -112,13 +112,6 @@ stop()
"$ZFS" umount -a
log_end_msg $?
log_begin_msg "Exporting ZFS pools"
"$ZPOOL" list -H -o name | \
while read pool; do
"$ZPOOL" export $pool
done
log_end_msg $?
rm -f "$LOCKFILE"
}