OpenZFS 4521 - zfstest is trying to execute evil "zfs unmount -a"
commitd21d5b8248cf38d1518c9beccc350bc9081ff6be
authorGiuseppe Di Natale <dinatale2@users.noreply.github.com>
Fri, 3 Feb 2017 21:24:44 +0000 (3 13:24 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 3 Feb 2017 21:24:44 +0000 (3 13:24 -0800)
tree0049ce696ca24c5c10051b7186d9f205153cf4fd
parent9b7b9cd370ed2ec4c8ee346bcb95cb30ba7e9ba9
OpenZFS 4521 - zfstest is trying to execute evil "zfs unmount -a"

Authored by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Andriy Gapon <avg@FreeBSD.org>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Ported-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Porting Notes:
- Correctly set __ZFS_POOL_RESTRICT in inherit_001_pos

OpenZFS-issue: https://www.illumos.org/issues/4521
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/8808ac5
Closes #5674
cmd/zfs/zfs_main.c
include/libzfs.h
lib/libzfs/libzfs_config.c
lib/libzfs/libzfs_dataset.c
scripts/zfs-tests.sh
tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh