io_uring: refactor io_flush_cached_reqs()
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 19 Mar 2021 17:22:35 +0000 (17:22 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 4 Apr 2021 21:27:22 +0000 (15:27 -0600)
commitff2da7b795c04e3e755e6dd57172604c13712549
tree73070439bb75495e92d8cb55de62290239985e1f
parenta78136afae8c312e81227080fb31ac212ce795ec
io_uring: refactor io_flush_cached_reqs()

Emphasize that return value of io_flush_cached_reqs() depends on number
of requests in the cache. It looks nicer and might help tools from
false-negative analyses.

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