summaryrefslogtreecommitdiff
path: root/io_uring/tctx.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-06-20 13:32:35 +0200
committerJens Axboe <axboe@kernel.dk>2023-06-20 09:36:22 -0600
commit4bfb0c9af832a182a54e549123a634e0070c8d4f (patch)
tree8c683eb5980341ac8682d0e6bea2df1fc59fcc97 /io_uring/tctx.c
parentf432c8c8c12b84c5465b1ffddb6feb7d6b19c1ca (diff)
downloadlwn-4bfb0c9af832a182a54e549123a634e0070c8d4f.tar.gz
lwn-4bfb0c9af832a182a54e549123a634e0070c8d4f.zip
io_uring: add helpers to decode the fixed file file_ptr
Remove all the open coded magic on slot->file_ptr by introducing two helpers that return the file pointer and the flags instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20230620113235.920399-9-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/tctx.c')
0 files changed, 0 insertions, 0 deletions