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:
parent
6da3e88bc4
commit
293f6d5480
1 changed files with 3 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue