HomeFreeBSD

FreeBSD: Fix ZFS so that snapshots under .zfs/snapshot are NFS visible

Description

FreeBSD: Fix ZFS so that snapshots under .zfs/snapshot are NFS visible

Call vfs_exjail_clone() for mounts created under .zfs/snapshot
to fill in the mnt_exjail field for the mount. If this is not
done, the snapshots under .zfs/snapshot with not be accessible
over NFS.

This version has the argument name in vfs.h fixed to match that
of the name in spl_vfs.c, although it really does not matter.

External-issue: https://reviews.freebsd.org/D42672
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rick Macklem <rmacklem@uoguelph.ca>
Closes #15563

Details

Provenance
rmacklemAuthored on Nov 28 2023, 12:31 AM
GitHub <noreply@github.com>Committed on Nov 28 2023, 12:31 AM
Parents
rGc1a47de86fd5: zdb: Fix zdb '-O|-r' options with -e/exported zpool
Branches
Unknown
Tags
Unknown