diff options
author | George Melikov <[email protected]> | 2018-11-09 03:17:12 +0300 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-11-08 16:17:12 -0800 |
commit | 877d925a9e816337bb62ee61d564118db0181477 (patch) | |
tree | 3f7e4b704a09df1514c32573ca3e5c62a32669b1 /module | |
parent | d8244d34bdc3e7b864e0152b55477fa61dae3e90 (diff) |
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 <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: George Melikov <[email protected]>
Closes #7835
Closes #8045
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/zfs_ctldir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/zfs/zfs_ctldir.c b/module/zfs/zfs_ctldir.c index 35a86d434..485f21b79 100644 --- a/module/zfs/zfs_ctldir.c +++ b/module/zfs/zfs_ctldir.c @@ -29,6 +29,7 @@ * Brian Behlendorf <[email protected]> * 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 */ |