]> 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)
commit0cc47807a8fa100744f30ecd8670edde6c99a002
tree42051264e417dc43f159e704eb8138ccb1840eda
parent293ed414171ffdf37be5cab8e7cc9a32955dc6fd
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