diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-04-11 14:06:06 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-04-12 21:09:41 +0300 |
commit | 13c223962eac16f161cf9b6355209774c609af28 (patch) | |
tree | 9e4b653e853938015578464a5384f4d39cbfbce9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 528407b1e0ea51260fff2cc8b669c632a65d7a09 (diff) | |
download | linux-13c223962eac16f161cf9b6355209774c609af28.tar.xz |
io_uring/rsrc: zero node's rsrc data on alloc
struct io_rsrc_node::rsrc_data field is initialised on rsrc removal and
shouldn't be used before that, still let's play safe and zero the field
on alloc.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/09bd03cedc8da8a7974c5e6e4bf0489fd16593ab.1681210788.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions