diff options
author | George Melikov <[email protected]> | 2018-09-05 03:21:24 +0300 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-09-04 17:21:24 -0700 |
commit | a6214a0ae9e78d3cac0e495e2fcf7af0858a872f (patch) | |
tree | 74c61864bb0abe85852f534b424e8eb02ead6306 /module/zfs/zfs_ctldir.c | |
parent | c197a77c3cf36531e4cf79e524e1ccf7ec00cc4c (diff) |
Update zfs_admin_snapshot default value (disabled)
It's disabled by default, update code to reflect
the documentation.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Gregor Kopka <[email protected]>
Signed-off-by: George Melikov <[email protected]>
Closes #7835
Closes #7838
Diffstat (limited to 'module/zfs/zfs_ctldir.c')
-rw-r--r-- | module/zfs/zfs_ctldir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zfs_ctldir.c b/module/zfs/zfs_ctldir.c index 8a35c9947..f21ee9cf5 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 */ |