commit | b65e0dd6a2de050d3fc4c0db4969a245f4e7273e | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sat Jul 25 14:41:58 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Jul 25 09:47:44 2020 -0600 |
tree | a5fda8de5085ef9c4750e852279d28ca43d141ba | |
parent | f56040b81999871973d21f334b4657957422c90e [diff] |
io_uring: mark ->work uninitialised after cleanup Remove REQ_F_WORK_INITIALIZED after io_req_clean_work(). That's a cold path but is safer for those using io_req_clean_work() out of *dismantle_req()/*io_free(). And for the same reason zero work.fs Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>