summaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-08-20 12:36:37 +0300
committerJens Axboe <axboe@kernel.dk>2021-08-23 22:13:00 +0300
commit26578cda3db983b17cabe4e577af26306beb9987 (patch)
treee66c686649ae4b6597757a03700902ec57e57462 /fs/namei.c
parent2c5d763c1939fbd130452ee0d4d1a44b5dd97bb7 (diff)
downloadlinux-26578cda3db983b17cabe4e577af26306beb9987.tar.xz
io_uring: add ->splice_fd_in checks
->splice_fd_in is used only by splice/tee, but no other request checks it for validity. Add the check for most of request types excluding reads/writes/sends/recvs, we don't want overhead for them and can leave them be as is until the field is actually used. Cc: stable@vger.kernel.org Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/f44bc2acd6777d932de3d71a5692235b5b2b7397.1629451684.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions