diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-11-28 03:08:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-11-28 03:10:56 +0300 |
commit | 6f007b1406637d3d73d42e41d7e8d9b245185e69 (patch) | |
tree | 577849edef207a99b2a15f133ef8886cb1e030e0 /io_uring/io_uring.h | |
parent | 820d070feb668aab5bc9413c285a1dda2a70e076 (diff) | |
download | linux-6f007b1406637d3d73d42e41d7e8d9b245185e69.tar.xz |
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: 03d89a2de25b ("io_uring: support for user allocated memory for rings/sqes")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.h')
0 files changed, 0 insertions, 0 deletions