mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
io_uring: don't guard IORING_OFF_PBUF_RING with SETUP_NO_MMAP
commit6f007b1406upstream. 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:03d89a2de2("io_uring: support for user allocated memory for rings/sqes") Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5f1a233efe
commit
b797b7f83e
1 changed files with 6 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue