Re: [PATCH for-5.7] splice: move f_mode checks to do_{splice,tee}()

From: Jens Axboe
Date: Thu May 07 2020 - 11:45:33 EST


On 5/4/20 1:39 PM, Pavel Begunkov wrote:
> do_splice() is used by io_uring, as will be do_tee(). Move f_mode
> checks from sys_{splice,tee}() to do_{splice,tee}(), so they're
> enforced for io_uring as well.

Applied for 5.7, thanks.

--
Jens Axboe