aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2018-09-04 21:58:23 -0700
committerBrian Behlendorf <[email protected]>2018-09-04 22:00:21 -0700
commit27ca030fa68dd58fbb36714a6ddfc3fdf6974df3 (patch)
tree9af15bac913f5a64f64d3f77b6ed1bc7f18b7a87 /module/zfs
parenta6214a0ae9e78d3cac0e495e2fcf7af0858a872f (diff)
Revert "Update zfs_admin_snapshot default value (disabled)"
This reverts commit a6214a0ae9e78d3cac0e495e2fcf7af0858a872f. Disabling zfs_admin_snapshot by default results in multiple ZTS tests failing which depend on this functionality. Revert this change until the relevant test cases can be updated. Signed-off-by: Brian Behlendorf <[email protected]> Issue #7838
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/zfs_ctldir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zfs_ctldir.c b/module/zfs/zfs_ctldir.c
index f21ee9cf5..8a35c9947 100644
--- a/module/zfs/zfs_ctldir.c
+++ b/module/zfs/zfs_ctldir.c
@@ -106,7 +106,7 @@ static krwlock_t zfs_snapshot_lock;
* Control Directory Tunables (.zfs)
*/
int zfs_expire_snapshot = ZFSCTL_EXPIRE_SNAPSHOT;
-int zfs_admin_snapshot = 0;
+int zfs_admin_snapshot = 1;
typedef struct {
char *se_name; /* full snapshot name */