freebsd-skq/sys/dev/md
philip a5ef2c95a1 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.

Reviewed by:	kris, kib
MFC after:	3 days
2008-02-28 18:31:54 +00:00
..
md.c Zero sc->vnode if mdsetcred() fails. 2008-02-28 18:31:54 +00:00