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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to