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:
parent
c197a77c3c
commit
a6214a0ae9
|
@ -106,7 +106,7 @@ static krwlock_t zfs_snapshot_lock;
|
||||||
* Control Directory Tunables (.zfs)
|
* Control Directory Tunables (.zfs)
|
||||||
*/
|
*/
|
||||||
int zfs_expire_snapshot = ZFSCTL_EXPIRE_SNAPSHOT;
|
int zfs_expire_snapshot = ZFSCTL_EXPIRE_SNAPSHOT;
|
||||||
int zfs_admin_snapshot = 1;
|
int zfs_admin_snapshot = 0;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char *se_name; /* full snapshot name */
|
char *se_name; /* full snapshot name */
|
||||||
|
|
Loading…
Reference in New Issue