Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148932196
D33996.1789200225.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
538 B
Referenced Files
None
Subscribers
None
D33996.1789200225.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D33996: geom_gate: Fix Distinguish between errors
Attached
Detach File
Event Timeline
Log In to Comment