diff options
| author | Jason Gunthorpe <jgg@nvidia.com> | 2025-11-21 11:51:04 -0400 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2025-11-25 11:30:16 -0400 |
| commit | 217725f0b2c31d8328fe92b35ae4b38c102a846f (patch) | |
| tree | 050506ef8f14d55f20115221198d8a046ab2f3e4 /rust/helpers/helpers.c | |
| parent | 74014a4b55f5df935977368efe09d650e22495f0 (diff) | |
iommufd: Have iopt_map_file_pages convert the fd to a file
Since dmabuf only has APIs that work on an int fd and not a struct file *,
pass the fd deeper into the call chain so we can use the dmabuf APIs as
is.
Link: https://patch.msgid.link/r/7-v2-b2c110338e3f+5c2-iommufd_dmabuf_jgg@nvidia.com
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Tested-by: Shuai Xue <xueshuai@linux.alibaba.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
