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.