0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd::fs::aio: Fix assertion.

This commit is contained in:
Jason Volk 2019-01-15 14:51:08 -08:00
parent c5489cecb0
commit 8b1887c5f8

View file

@ -604,7 +604,7 @@ ircd::fs::aio::system::submit()
try
{
assert(qcount > 0);
assert(in_flight + qcount < MAX_EVENTS);
assert(in_flight + qcount <= MAX_EVENTS);
assert(in_flight + qcount <= max_events());
const auto submitted