summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDerek Dai <[email protected]>2014-06-02 01:27:58 +0800
committerBrian Behlendorf <[email protected]>2014-06-05 13:49:15 -0700
commit7a870db1b90db4ca31b67fbe856fd426431fa8b5 (patch)
tree8234236bcdecfff7c77df84c168b1a7fcfdac0b4 /etc
parent69c7bdb6e70644bb2efebcee4bf109ace08eb0be (diff)
Do not export pool to prevent cache from been removed
Signed-off-by: Derek Dai <[email protected]> Signed-off-by: Turbo Fredriksson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2353
Diffstat (limited to 'etc')
-rw-r--r--etc/init.d/zfs.lsb.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/etc/init.d/zfs.lsb.in b/etc/init.d/zfs.lsb.in
index 8a61349e8..05e815ede 100644
--- a/etc/init.d/zfs.lsb.in
+++ b/etc/init.d/zfs.lsb.in
@@ -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"
}