]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove dead check in io_splice()
authorJens Axboe <axboe@kernel.dk>
Sun, 17 May 2020 20:21:38 +0000 (14:21 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 17 May 2020 20:21:38 +0000 (14:21 -0600)
commitc28e6283e0eb137c200be6c292401eeb65ebfa33
treec2cef26a387b158bac153e963aa7cc620ba140d5
parentd95baf9009f3f8110dbe190a2f1089e03be66618
io_uring: remove dead check in io_splice()

We checked for 'force_nonblock' higher up, so it's definitely false
at this point. Kill the check, it's a remnant of when we tried to do
inline splice without always punting to async context.

Fixes: 583e36a5b97c ("io_uring: punt splice async because of inode mutex")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c