]> asedeno.scripts.mit.edu Git - linux.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)
commit944e58bfeda0e9b97cd611adafc823c78e0bc464
tree42051264e417dc43f159e704eb8138ccb1840eda
parent70cf9f3270a5c5148e93a526dc1e51965259e70c
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