summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-09-12 13:18:10 -0600
committerJens Axboe <axboe@kernel.dk>2020-09-13 14:47:06 -0600
commit202700e18acbed55970dbb9d4d518ac59b1172c8 (patch)
tree86334f387da6c7f7886b5a73332fa75f848a6c59 /fs/cachefiles
parentc127a2a1b7baa5eb40a7e2de4b7f0c51ccbbb2ef (diff)
downloadlinux-202700e18acbed55970dbb9d4d518ac59b1172c8.tar.bz2
io_uring: grab any needed state during defer prep
Always grab work environment for deferred links. The assumption that we will be running it always from the task in question is false, as exiting tasks may mean that we're deferring this one to a thread helper. And at that point it's too late to grab the work environment. Fixes: debb85f496c9 ("io_uring: factor out grab_env() from defer_prep()") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions