From a6214a0ae9e78d3cac0e495e2fcf7af0858a872f Mon Sep 17 00:00:00 2001 From: George Melikov Date: Wed, 5 Sep 2018 03:21:24 +0300 Subject: [PATCH] Update zfs_admin_snapshot default value (disabled) It's disabled by default, update code to reflect the documentation. Reviewed-by: Brian Behlendorf Reviewed-by: Gregor Kopka Signed-off-by: George Melikov Closes #7835 Closes #7838 --- module/zfs/zfs_ctldir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/zfs_ctldir.c b/module/zfs/zfs_ctldir.c index 8a35c99471..f21ee9cf57 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 = 1; +int zfs_admin_snapshot = 0; typedef struct { char *se_name; /* full snapshot name */