]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: cancel work if we fail getting a mm reference
authorJens Axboe <axboe@kernel.dk>
Wed, 15 Jan 2020 05:06:11 +0000 (22:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 15 Jan 2020 05:06:11 +0000 (22:06 -0700)
commit0fa17e647681b1f2310b86c256b6a3c52e135690
tree0b3f8f9a36b0bbe0fe4b286485e5f43af6fadc8f
parent119e0059a8593b47a3ea5969321b12bde96b5a15
io-wq: cancel work if we fail getting a mm reference

If we require mm and user context, mark the request for cancellation
if we fail to acquire the desired mm.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c