pjd 2006-09-05 21:56:00 UTC
FreeBSD src repository
Modified files:
sys/geom/gate g_gate.c g_gate.h
Log:
Fix problems with destroy and forcible destroy functionality:
- hold/release device in start/done routines, this will probably slow
down things a bit, but previous code was racy;
- only release device if g_gate_destroy() failed - if it succeeded device
is dead and there is nothing to release;
- various other changes which makes forcible destruction reliable.
MFC after: 3 days
Revision Changes Path
1.24 +45 -73 src/sys/geom/gate/g_gate.c
1.9 +2 -2 src/sys/geom/gate/g_gate.h
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"