]> git.proxmox.com Git - mirror_zfs.git/commit
Fix per-jail zfs.mount_snapshot setting
authorAllan Jude <allan@klarasystems.com>
Wed, 22 Feb 2023 01:23:01 +0000 (20:23 -0500)
committerGitHub <noreply@github.com>
Wed, 22 Feb 2023 01:23:01 +0000 (17:23 -0800)
commit1d56c6d0174c709b7db2e44a90bbec21d4da72b5
treeacc0a5f3ac7fad0ad4e75775baeeb58e95d958b8
parent0f32b1f7289f224691e48d6998ad28d5b3a589c3
Fix per-jail zfs.mount_snapshot setting

When jail.conf set the nopersist flag during startup, it was
incorrectly destroying the per-jail ZFS settings.

Reported-by: Martin Matuska <mm@FreeBSD.org>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Allan Jude <allan@klarasystems.com>
Sponsored-by: Modirum MDPay
Sponsored-by: Klara, Inc.
Closes #14509
module/os/freebsd/zfs/zfs_vfsops.c