diff options
author | Pavel Begunkov <[email protected]> | 2020-10-10 18:34:16 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-10-10 12:49:25 -0600 |
commit | b2e9685283127f30e7f2b466af0046ff9bd27a86 (patch) | |
tree | 2a76a3532137b1e8f5722f2a500ffe174fe8f3cd /tools | |
parent | 600cf3f8b3f68ad22ee9af4cf24b0a96512f7fbe (diff) |
io_uring: keep a pointer ref_node in file_data
->cur_refs of struct fixed_file_data always points to percpu_ref
embedded into struct fixed_file_ref_node. Don't overuse container_of()
and offsetting, and point directly to fixed_file_ref_node.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions