summaryrefslogtreecommitdiffstats
path: root/lib/net_utils.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-01-08 20:57:24 +0000
committerJens Axboe <axboe@kernel.dk>2021-01-09 09:21:43 -0700
commit6b5733eb638b7068ab7cb34e663b55a1d1892d85 (patch)
treeb5f070f96394192d25a3b323112128b6bd9d876c /lib/net_utils.c
parent4f793dc40bc605b97624fd36baf085b3c35e8bfd (diff)
downloadlinux-6b5733eb638b7068ab7cb34e663b55a1d1892d85.tar.bz2
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>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions