freebsd-dev/sys/geom/gate
Pawel Jakub Dawidek 7ffb6e0f6a 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
2006-09-05 21:56:00 +00:00
..
g_gate.c Fix problems with destroy and forcible destroy functionality: 2006-09-05 21:56:00 +00:00
g_gate.h Fix problems with destroy and forcible destroy functionality: 2006-09-05 21:56:00 +00:00