Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev

Module Name:    src
Committed By:   dyoung
Date:           Wed Jan 20 18:55:17 UTC 2010

Modified Files:
        src/sys/dev: cgd.c

Log Message:
Get out of cgd_detach() early on error.  Do not call disk_destroy(9)
on error, that leaves the cgd_softc in an inconsistent state.

Fixes a crash during shutdown reported by Patrick Welche.  Thanks
to Patrick for reporting and for testing the fix.

To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/cgd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index