git: c8f147943d2e - stable/14 - MFC zfs/jail: Mark the zfs.mount_snapshot jail parameter as boolean.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Jun 2024 19:46:10 UTC
The branch stable/14 has been updated by jamie:
URL: https://cgit.FreeBSD.org/src/commit/?id=c8f147943d2e0926793af3442dd26a8e5aebcda7
commit c8f147943d2e0926793af3442dd26a8e5aebcda7
Author: Jamie Gritton <jamie@FreeBSD.org>
AuthorDate: 2024-06-24 20:00:49 +0000
Commit: Jamie Gritton <jamie@FreeBSD.org>
CommitDate: 2024-06-28 19:44:56 +0000
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 9cbf1de7e34a6fced041388fad5d9180cb7705fe)
---
sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
index a972c720dfdb..9b56d15f1095 100644
--- a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
+++ b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
@@ -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");