]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: grab ->fs as part of async preparation
authorJens Axboe <axboe@kernel.dk>
Fri, 7 Feb 2020 23:05:21 +0000 (16:05 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 8 Feb 2020 20:07:00 +0000 (13:07 -0700)
commit768387c70fbc9a9247afb945bbae0887c1e9c498
treeba32d4f78d1a059383fff73d3f36156ef1beb721
parent01034b5f61473164856ba5db2c335d98fcadf6c1
io_uring: grab ->fs as part of async preparation

This passes it in to io-wq, so it assumes the right fs_struct when
executing async work that may need to do lookups.

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