io_uring: don't include filetable.h in io_uring.h

io_uring/io_uring.h doesn't use anything declared in
io_uring/filetable.h, so drop the unnecessary #include. Add filetable.h
includes in .c files previously relying on the transitive include from
io_uring.h.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Caleb Sander Mateos
2025-09-04 11:08:58 -06:00
committed by Jens Axboe
parent 7b0604d77a
commit 5d4c52bfa8
10 changed files with 9 additions and 2 deletions

View File

@@ -11,6 +11,7 @@
#include <uapi/linux/io_uring.h>
#include "filetable.h"
#include "io_uring.h"
#include "tctx.h"
#include "poll.h"

View File

@@ -9,7 +9,7 @@
#include <uapi/linux/io_uring.h>
#include "io_uring.h"
#include "filetable.h"
#include "sqpoll.h"
#include "fdinfo.h"
#include "cancel.h"

View File

@@ -79,6 +79,7 @@
#include "io-wq.h"
#include "filetable.h"
#include "io_uring.h"
#include "opdef.h"
#include "refs.h"

View File

@@ -11,7 +11,6 @@
#include "alloc_cache.h"
#include "io-wq.h"
#include "slist.h"
#include "filetable.h"
#include "opdef.h"
#ifndef CREATE_TRACE_POINTS

View File

@@ -10,6 +10,7 @@
#include <uapi/linux/io_uring.h>
#include "filetable.h"
#include "io_uring.h"
#include "kbuf.h"
#include "alloc_cache.h"

View File

@@ -14,6 +14,7 @@
#include "../fs/internal.h"
#include "filetable.h"
#include "io_uring.h"
#include "rsrc.h"
#include "openclose.h"

View File

@@ -18,6 +18,7 @@
#include <linux/io_uring.h>
#include <linux/io_uring_types.h>
#include "filetable.h"
#include "io_uring.h"
#include "opdef.h"
#include "tctx.h"

View File

@@ -13,6 +13,7 @@
#include <uapi/linux/io_uring.h>
#include "filetable.h"
#include "io_uring.h"
#include "openclose.h"
#include "rsrc.h"

View File

@@ -15,6 +15,7 @@
#include <uapi/linux/io_uring.h>
#include "filetable.h"
#include "io_uring.h"
#include "opdef.h"
#include "kbuf.h"

View File

@@ -11,6 +11,7 @@
#include <uapi/linux/io_uring.h>
#include "filetable.h"
#include "io_uring.h"
#include "splice.h"