mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-06 00:20:56 +01:00
Zero sc->vnode if mdsetcred() fails.
This fixes the panic which happens when mdcreate_vnode() calls vn_close()
and mddestroy() calls it again further down the error handling path.