commit | 6b5733eb638b7068ab7cb34e663b55a1d1892d85 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Fri Jan 08 20:57:24 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Jan 09 09:21:43 2021 -0700 |
tree | b5f070f96394192d25a3b323112128b6bd9d876c | |
parent | 4f793dc40bc605b97624fd36baf085b3c35e8bfd [diff] |
io_uring: add warn_once for io_uring_flush() files_cancel() should cancel all relevant requests and drop file notes, so we should never have file notes after that, including on-exit fput and flush. Add a WARN_ONCE to be sure. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>