diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-03-27 21:59:09 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-04-15 16:10:26 +0200 |
commit | f15ed8b4d0ce2c0831232ff85117418740f0c529 (patch) | |
tree | a88a7221f61e7ef6cd6dfae2624a0604dc9e285b /io_uring/kbuf.c | |
parent | io_uring: use unpin_user_pages() where appropriate (diff) | |
download | linux-f15ed8b4d0ce2c0831232ff85117418740f0c529.tar.xz linux-f15ed8b4d0ce2c0831232ff85117418740f0c529.zip |
io_uring: move mapping/allocation helpers to a separate file
Move the related code from io_uring.c into memmap.c. No functional
changes in this patch, just cleaning it up a bit now that the full
transition is done.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/kbuf.c')
-rw-r--r-- | io_uring/kbuf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/kbuf.c b/io_uring/kbuf.c index 10d5c98c1c56..896770e93980 100644 --- a/io_uring/kbuf.c +++ b/io_uring/kbuf.c @@ -15,6 +15,7 @@ #include "io_uring.h" #include "opdef.h" #include "kbuf.h" +#include "memmap.h" #define IO_BUFFER_LIST_BUF_PER_PAGE (PAGE_SIZE / sizeof(struct io_uring_buf)) |