freebsd-nq/sys/dev/md
Philip Paeps 3cf74e539b 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