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