Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2024 19:51:08 GMT
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 172fbf12fc22 - stable/13 - MFC zfs/jail: Mark the zfs.mount_snapshot jail parameter as boolean.
Message-ID:  <202406281951.45SJp8Jj050217@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jamie:

URL: https://cgit.FreeBSD.org/src/commit/?id=172fbf12fc22395b55d9dba6b81e7088c7ec43bd

commit 172fbf12fc22395b55d9dba6b81e7088c7ec43bd
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:50:44 +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 33581d018256..42c8287a7c03 100644
--- a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
+++ b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
@@ -102,7 +102,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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406281951.45SJp8Jj050217>