zfs: add missing vn state transition for .zfs

Reported by:	des
This commit is contained in:
Mateusz Guzik 2023-04-20 08:09:59 +00:00
parent 061e8e6ba6
commit 7ff3143809

View File

@ -204,6 +204,10 @@ sfs_vgetx(struct mount *mp, int flags, uint64_t parent_id, uint64_t id,
return (error);
}
#if __FreeBSD_version >= 1400077
vn_set_state(vp, VSTATE_CONSTRUCTED);
#endif
*vpp = vp;
return (0);
}