commit | 4bfb0c9af832a182a54e549123a634e0070c8d4f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Jun 20 13:32:35 2023 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jun 20 09:36:22 2023 -0600 |
tree | 8c683eb5980341ac8682d0e6bea2df1fc59fcc97 | |
parent | f432c8c8c12b84c5465b1ffddb6feb7d6b19c1ca [diff] |
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>