diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-10-10 19:34:16 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-10 20:49:25 +0200 |
commit | b2e9685283127f30e7f2b466af0046ff9bd27a86 (patch) | |
tree | 2a76a3532137b1e8f5722f2a500ffe174fe8f3cd /init | |
parent | io_uring: refactor *files_register()'s error paths (diff) | |
download | linux-b2e9685283127f30e7f2b466af0046ff9bd27a86.tar.xz linux-b2e9685283127f30e7f2b466af0046ff9bd27a86.zip |
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 <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions