Page MenuHomeFreeBSD

D33996.id102078.diff
No OneTemporary

D33996.id102078.diff

diff --git a/sys/geom/gate/g_gate.c b/sys/geom/gate/g_gate.c
--- a/sys/geom/gate/g_gate.c
+++ b/sys/geom/gate/g_gate.c
@@ -861,11 +861,10 @@
mtx_unlock(&sc->sc_queue_mtx);
goto start_end;
}
- if (msleep(sc, &sc->sc_queue_mtx,
- PPAUSE | PDROP | PCATCH, "ggwait", 0) != 0) {
- ggio->gctl_error = ECANCELED;
+ error = msleep(sc, &sc->sc_queue_mtx,
+ PPAUSE | PDROP | PCATCH, "ggwait", 0);
+ if (error != 0)
goto start_end;
- }
}
ggio->gctl_cmd = bp->bio_cmd;
if (bp->bio_cmd == BIO_WRITE &&

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 19, 5:57 PM (18 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15953699
Default Alt Text
D33996.id102078.diff (538 B)

Event Timeline