cvs commit: src/sys/dev/md md.c
Philip Paeps
philip at FreeBSD.org
Thu Feb 28 18:31:54 UTC 2008
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
More information about the cvs-src
mailing list