Defer the v_type initialisation until after the vnode has been purged from the namecache. Changing the v_type between cache_enter() and cache_purge() results in bad things happening.
Defer the v_type initialisation until after the vnode has been purged from
the namecache. Changing the v_type between cache_enter() and cache_purge()
results in bad things happening.

ok beck@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars