HomeFreeBSD

re-apply r299908: zfsctl_snapdir_lookup: clear VV_ROOT of snapshot's root

Description

re-apply r299908: zfsctl_snapdir_lookup: clear VV_ROOT of snapshot's root

The change has been undone in r301275 on the assumption that it was no
longer required. But that was incorrect, because in this case (and only
in this case) the snapshot root vnode is looked up before z_parent is
fixed up.

MFC after: 5 days

Details

Provenance
avgAuthored on
Parents
rS302771: mail(1): check for out of memory conditions when calling calloc(3).
Branches
Unknown
Tags
Unknown