summaryrefslogtreecommitdiffstats
path: root/io_uring/rsrc.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-27 21:59:09 +0100
committerJens Axboe <axboe@kernel.dk>2024-04-15 16:10:26 +0200
commitf15ed8b4d0ce2c0831232ff85117418740f0c529 (patch)
treea88a7221f61e7ef6cd6dfae2624a0604dc9e285b /io_uring/rsrc.c
parentio_uring: use unpin_user_pages() where appropriate (diff)
downloadlinux-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/rsrc.c')
-rw-r--r--io_uring/rsrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/rsrc.c b/io_uring/rsrc.c
index 8a34181c97ab..65417c9553b1 100644
--- a/io_uring/rsrc.c
+++ b/io_uring/rsrc.c
@@ -16,6 +16,7 @@
#include "alloc_cache.h"
#include "openclose.h"
#include "rsrc.h"
+#include "memmap.h"
struct io_rsrc_update {
struct file *file;