mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
MFC zfs/jail: Mark the zfs.mount_snapshot jail parameter as boolean.
PR: 274263
Differential Revision: https://reviews.freebsd.org/D45647
(cherry picked from commit 9cbf1de7e3)
This commit is contained in:
parent
2c88494a33
commit
c8f147943d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue