diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-01-09 15:46:06 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-29 23:17:40 +0100 |
commit | 3e5655552a8299492d54117a15b6ddf5a2e7512c (patch) | |
tree | a2f9ada1614690fffe6a9f32df1844232fb28c30 /io_uring/io_uring.c | |
parent | io_uring: don't set TASK_RUNNING in local tw runner (diff) | |
download | linux-3e5655552a8299492d54117a15b6ddf5a2e7512c.tar.xz linux-3e5655552a8299492d54117a15b6ddf5a2e7512c.zip |
io_uring: mark io_run_local_work static
io_run_local_work is enclosed in io_uring.c, we don't need to export it.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b477fb81f5e77044f724a06fe245d5c078659364.1673274244.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.c')
-rw-r--r-- | io_uring/io_uring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index e61e2a0f23b1..79d94381d967 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -1337,7 +1337,7 @@ again: } -int io_run_local_work(struct io_ring_ctx *ctx) +static int io_run_local_work(struct io_ring_ctx *ctx) { bool locked = mutex_trylock(&ctx->uring_lock); int ret; |