io_uring: keep io_put_req only responsible for release and put req
authorJackie Liu <liuyun01@kylinos.cn>
Fri, 8 Nov 2019 15:50:36 +0000 (23:50 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Nov 2019 03:29:49 +0000 (20:29 -0700)
commitec9c02ad4c3808d6d9ed28ad1d0485d6e2a33ac5
tree970e44201b928d3a68ac57e50b6afcfcc5c9f603
parenta197f664a0db8a6219d9ce949f5f29b89f60fb2b
io_uring: keep io_put_req only responsible for release and put req

We already have io_put_req_find_next to find the next req of the link.
we should not use the io_put_req function to find them. They should be
functions of the same level.

Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c