io_uring: don't attempt IO reissue from the ring exit path
authorJens Axboe <axboe@kernel.dk>
Wed, 24 Feb 2021 02:17:35 +0000 (19:17 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Feb 2021 02:18:13 +0000 (19:18 -0700)
commit7c977a58dc83366e488c217fd88b1469d242bee5
tree54174fc5f340870547021faa82a4f89df9a803da
parent8e5c66c485a8af3f39a8b0358e9e09f002016d92
io_uring: don't attempt IO reissue from the ring exit path

If we're exiting the ring, just let the IO fail with -EAGAIN as nobody
will care anyway. It's not the right context to reissue from.

Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c