summaryrefslogtreecommitdiff
path: root/fs/io_uring.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-05-18 10:40:02 +0200
committerJens Axboe <axboe@kernel.dk>2022-05-18 06:19:05 -0600
commitee67ba3b20f7dcd001b7743eb8e46880cb27fdc6 (patch)
tree63cdd37292bdcdf52ce650a475003ef8b4e5ef30 /fs/io_uring.c
parent984824db844a9bd6e9e15ee469241982526a6ccd (diff)
io_uring: drop a spurious inline on a forward declaration
io_file_get_normal isn't marked inline, so don't claim it as such in the forward declaration. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20220518084005.3255380-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
-rw-r--r--fs/io_uring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c
index 9cac9b0ffebe..0b1e10d5fbd2 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -1303,7 +1303,7 @@ static int __io_register_rsrc_update(struct io_ring_ctx *ctx, unsigned type,
static void io_clean_op(struct io_kiocb *req);
static inline struct file *io_file_get_fixed(struct io_kiocb *req, int fd,
unsigned issue_flags);
-static inline struct file *io_file_get_normal(struct io_kiocb *req, int fd);
+static struct file *io_file_get_normal(struct io_kiocb *req, int fd);
static void io_drop_inflight_file(struct io_kiocb *req);
static bool io_assign_file(struct io_kiocb *req, unsigned int issue_flags);
static void io_queue_sqe(struct io_kiocb *req);