]> granicus.if.org Git - zfs/commitdiff
Revert "Update zfs_admin_snapshot default value (disabled)"
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 5 Sep 2018 04:58:23 +0000 (21:58 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 5 Sep 2018 05:00:21 +0000 (22:00 -0700)
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 <behlendorf1@llnl.gov>
Issue #7838

module/zfs/zfs_ctldir.c

index f21ee9cf577a5398819e8af9cf492b71eac823d1..8a35c99471c57ef0fab7af3ab0167bf3a71622e1 100644 (file)
@@ -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 */