diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-05-17 14:02:11 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-17 09:22:09 -0600 |
commit | 650b548129b60b0d23508351800108196f4aa89f (patch) | |
tree | 97d71e8144c7de809786791483fa03edc73f6919 /fs/ioctl.c | |
parent | 583863ed918136412ddf14de2e12534f17cfdc6f (diff) | |
download | linux-650b548129b60b0d23508351800108196f4aa89f.tar.bz2 |
io_uring: don't prepare DRAIN reqs twice
If req->io is not NULL, it's already prepared. Don't do it again,
it's dangerous.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions