0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::fs::aio: No default zero initialization for aio::request used in array.

This commit is contained in:
Jason Volk 2020-05-06 19:13:14 -07:00
parent f34cc52043
commit c683365341
2 changed files with 6 additions and 4 deletions

View file

@ -361,6 +361,8 @@ ircd::fs::aio::request::request(const int &fd,
const struct opts *const &opts,
ctx::dock *const &waiter)
:iocb{0}
,retval{-2L}
,errcode{0L}
,opts{opts}
,waiter{waiter}
{

View file

@ -122,10 +122,10 @@ struct ircd::fs::aio::request
struct write;
struct fsync;
ssize_t retval {-2L};
ssize_t errcode {0L};
const struct opts *opts {nullptr};
ctx::dock *waiter {nullptr};
ssize_t retval;
ssize_t errcode;
const struct opts *opts;
ctx::dock *waiter;
bool wait();