summaryrefslogtreecommitdiff
path: root/fs/sysfs
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-04-30 14:44:05 -0600
committerJens Axboe <axboe@kernel.dk>2019-05-01 08:38:47 -0600
commit817869d2519f0cb7be5b3482129dadc806dfb747 (patch)
tree6f5f784693b79fcfd0fa6a5c39e7a6d8d16a5137 /fs/sysfs
parent52e04ef4c9d459cba3afd86ec335a411b40b7fd2 (diff)
downloadlwn-817869d2519f0cb7be5b3482129dadc806dfb747.tar.gz
lwn-817869d2519f0cb7be5b3482129dadc806dfb747.zip
io_uring: drop req submit reference always in async punt
If we don't end up actually calling submit in io_sq_wq_submit_work(), we still need to drop the submit reference to the request. If we don't, then we can leak the request. This can happen if we race with ring shutdown while flushing the workqueue for requests that require use of the mm_struct. Fixes: e65ef56db494 ("io_uring: use regular request ref counts") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions