Update zfs_admin_snapshot default value (disabled)

It's disabled by default, update code to reflect
the documentation.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Gregor Kopka <gregor@kopka.net>
Signed-off-by: George Melikov <mail@gmelikov.ru>
Closes #7835 
Closes #7838
This commit is contained in:
George Melikov 2018-09-05 03:21:24 +03:00 committed by Brian Behlendorf
parent c197a77c3c
commit a6214a0ae9
1 changed files with 1 additions and 1 deletions

View 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 = 1;
int zfs_admin_snapshot = 0;
typedef struct {
char *se_name; /* full snapshot name */