]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: pass only !null to io_req_find_next()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 21 Nov 2019 20:21:01 +0000 (23:21 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Nov 2019 02:56:11 +0000 (19:56 -0700)
commit80044447d9ced737d63640e32f9e880cc15f0cdd
tree42051264e417dc43f159e704eb8138ccb1840eda
parentd4bedbbac911a27b84897a433d1d3a908af74c6c
io_uring: pass only !null to io_req_find_next()

Make io_req_find_next() and io_req_link_next() to accept only non-null
nxt, and handle it in callers.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c