mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Update zfs_admin_snapshot value (disabled)
It's disabled by default, update code and tests to reflect the documentation. Minor cleanup in delegate_common.kshlib. Reviewed-by: Gregor Kopka <gregor@kopka.net> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: George Melikov <mail@gmelikov.ru> Closes #7835 Closes #8045
This commit is contained in:
committed by
Brian Behlendorf
parent
d8244d34bd
commit
877d925a9e
@@ -29,6 +29,7 @@
|
||||
* Brian Behlendorf <behlendorf1@llnl.gov>
|
||||
* Copyright (c) 2013 by Delphix. All rights reserved.
|
||||
* Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 George Melikov. All Rights Reserved.
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -106,7 +107,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 */
|
||||
|
||||
Reference in New Issue
Block a user