cvs commit: src/sys/geom/gate g_gate.c g_gate.h
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Sep 8 03:22:49 PDT 2006
pjd 2006-09-08 10:22:41 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/geom/gate g_gate.c g_gate.h
Log:
MFC: sys/geom/gate/g_gate.c 1.24-1.26
sys/geom/gate/g_gate.h 1.9-1.10
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.
Use __FBSDID in .c files.
Bump copyright year.
Revision Changes Path
1.21.2.2 +49 -76 src/sys/geom/gate/g_gate.c
1.7.2.2 +3 -3 src/sys/geom/gate/g_gate.h
More information about the cvs-src
mailing list