summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBing-Jhong Billy Jheng <billy@starlabs.sg>2023-03-02 21:00:06 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-03 11:44:52 +0100
commit08681391b84da27133deefaaddefd0acfa90c2be (patch)
treef430016e6925d173560fbc8f4438b1d49f7ad975 /Makefile
parent218925bfd5d1436e337c4f961e9c149fbe32de6d (diff)
io_uring: add missing lock in io_get_file_fixed
io_get_file_fixed will access io_uring's context. Lock it if it is invoked unlocked (eg via io-wq) to avoid a race condition with fixed files getting unregistered. No single upstream patch exists for this issue, it was fixed as part of the file assignment changes that went into the 5.18 cycle. Signed-off-by: Jheng, Bing-Jhong Billy <billy@starlabs.sg> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions