summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAnuj Gupta <anuj20.g@samsung.com>2026-10-22 18:50:27 +0530
committerJens Axboe <axboe@kernel.dk>2026-10-22 09:27:00 -0600
commit45b716456dd99488a0cef58482120dc0474aa696 (patch)
treed829a77215f13562678aafde52199b6e1b179d0c /include/linux
parentfd13f31ac62abac4df2166bb0a6fbff53b288e0c (diff)
io_uring/dma-buf: don't fail fixed buffers without dma-buf support
io_attach_dmabuf_map() is called for every fixed read/write, but returns -EOPNOTSUPP when CONFIG_DMA_SHARED_BUFFER is disabled before checking whether the request uses a dma-buf at all. So READ_FIXED and WRITE_FIXED fail for ordinary registered buffers. Check REQ_F_DMABUF first. Fixes: 62e4bf5b25d4 ("io_uring/rsrc: add dmabuf backed registered buffers") Signed-off-by: Anuj Gupta <anuj20.g@samsung.com> Link: https://patch.msgid.link/20261022132027.2293931-1-anuj1072538@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions