Date: Thu, 28 Feb 2008 18:31:54 +0000 (UTC) From: Philip Paeps <philip@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/md md.c Message-ID: <200802281831.m1SIVsRw080211@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
philip 2008-02-28 18:31:54 UTC
FreeBSD src repository
Modified files:
sys/dev/md md.c
Log:
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
Revision Changes Path
1.174 +1 -0 src/sys/dev/md/md.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802281831.m1SIVsRw080211>
