HomeFreeBSD

add zfs_vptocnp with special handling for snapshots under .zfs

Description

add zfs_vptocnp with special handling for snapshots under .zfs

The logic is similar to that already present in zfs_dirlook() to handle
a dot-dot lookup on a root vnode of a snapshot mounted under
.zfs/snapshot/.
illumos does not have an equivalent of vop_vptocnp, so there only the
lookup had to be patched up.

MFC after: 4 weeks

Details

Provenance
avgAuthored on
Parents
rS299905: sfxge(4): fix V1 licensing MCDI operations
Branches
Unknown
Tags
Unknown