Page MenuHomeFreeBSD

D33996.1789200225.diff
No OneTemporary

Size
538 B
Referenced Files
None
Subscribers
None

D33996.1789200225.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
Sat, Sep 12, 8:03 AM (18 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29569672
Default Alt Text
D33996.1789200225.diff (538 B)

Event Timeline