Skip to content
Commit 6f007b14 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: don't guard IORING_OFF_PBUF_RING with SETUP_NO_MMAP



This flag only applies to the SQ and CQ rings, it's perfectly valid
to use a mmap approach for the provided ring buffers. Move the
check into where it belongs.

Cc: stable@vger.kernel.org
Fixes: 03d89a2d ("io_uring: support for user allocated memory for rings/sqes")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 820d070f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment