summaryrefslogtreecommitdiff
path: root/io_uring/splice.c
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2022-08-12 15:56:33 -0700
committerJens Axboe <axboe@kernel.dk>2022-08-12 17:00:35 -0600
commitaddebd9ac9ca0ef8b3764907bf8018e48caffc64 (patch)
treeca5654373356d0d8446140f6d4350348d2a9625c /io_uring/splice.c
parentda2634e89caa40d7546b0566ab80ff31567861c9 (diff)
fs: don't randomize struct kiocb fields
This is a size sensitive structure and randomizing can introduce extra padding that breaks io_uring's fixed size expectations. There are few fields here as it is, half of which need a fixed order to optimally pack, so the randomization isn't providing much. Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Keith Busch <kbusch@kernel.org> Link: https://lore.kernel.org/io-uring/b6f508ca-b1b2-5f40-7998-e4cff1cf7212@kernel.dk/ Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/splice.c')
0 files changed, 0 insertions, 0 deletions