]> 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)
commit21dcfdde447072b6d972086a84fe8545c796b128
treec2cef26a387b158bac153e963aa7cc620ba140d5
parent55538cce256292442025e76c56ac17fa8b1b31b5
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: 69c0eccfba87 ("io_uring: punt splice async because of inode mutex")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c