0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-14 00:34:18 +01:00

ircd::fs::aio: Throw system_error from here due to ambiguity.

ircd::fs: Trap on EINVAL.
This commit is contained in:
Jason Volk 2019-03-15 18:15:50 -07:00
parent 6da3e88bc4
commit 293f6d5480

View file

@ -398,11 +398,9 @@ ircd::fs::aio::request::operator()()
{
stats.bytes_errors += submitted_bytes;
stats.errors++;
throw fs::error
{
make_error_code(errcode)
};
assert(errcode != EINVAL);
throw_system_error(errcode);
__builtin_unreachable();
}
return size_t(retval);