diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-12-30 21:34:15 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-30 19:35:53 -0700 |
commit | 1ffc54220c444774b7f09e6d2121e732f8e19b94 (patch) | |
tree | 8b00c895282e72bd42ee1d338365f79012f5cbc9 /fs/file.c | |
parent | 1642b4450d20e31439c80c28256c8eee08684698 (diff) |
io_uring: fix io_sqe_files_unregister() hangs
io_sqe_files_unregister() uninterruptibly waits for enqueued ref nodes,
however requests keeping them may never complete, e.g. because of some
userspace dependency. Make sure it's interruptible otherwise it would
hang forever.
Cc: stable@vger.kernel.org # 5.6+
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions