mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
Mark the zfs.mount_snapshot jail parameter as boolean.
PR: 274263 Differential Revision: https://reviews.freebsd.org/D45647
This commit is contained in:
parent
1efd69f933
commit
9cbf1de7e3
@ -100,7 +100,7 @@ static struct zfs_jailparam zfs_jailparam0 = {
|
||||
static int zfs_jailparam_slot;
|
||||
|
||||
SYSCTL_JAIL_PARAM_SYS_NODE(zfs, CTLFLAG_RW, "Jail ZFS parameters");
|
||||
SYSCTL_JAIL_PARAM(_zfs, mount_snapshot, CTLTYPE_INT | CTLFLAG_RW, "I",
|
||||
SYSCTL_JAIL_PARAM(_zfs, mount_snapshot, CTLTYPE_INT | CTLFLAG_RW, "B",
|
||||
"Allow mounting snapshots in the .zfs directory for unjailed datasets");
|
||||
|
||||
SYSCTL_NODE(_vfs_zfs, OID_AUTO, version, CTLFLAG_RD, 0, "ZFS versions");
|
||||
|
Loading…
Reference in New Issue
Block a user