Commit 33047425 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

block: mark put_io_context_active static

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211126115817.2087431-7-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c2a32464
...@@ -175,7 +175,7 @@ void put_io_context(struct io_context *ioc) ...@@ -175,7 +175,7 @@ void put_io_context(struct io_context *ioc)
* Undo get_io_context_active(). If active reference reaches zero after * Undo get_io_context_active(). If active reference reaches zero after
* put, @ioc can never issue further IOs and ioscheds are notified. * put, @ioc can never issue further IOs and ioscheds are notified.
*/ */
void put_io_context_active(struct io_context *ioc) static void put_io_context_active(struct io_context *ioc)
{ {
struct io_cq *icq; struct io_cq *icq;
......
...@@ -132,7 +132,6 @@ static inline void get_io_context_active(struct io_context *ioc) ...@@ -132,7 +132,6 @@ static inline void get_io_context_active(struct io_context *ioc)
struct task_struct; struct task_struct;
#ifdef CONFIG_BLOCK #ifdef CONFIG_BLOCK
void put_io_context(struct io_context *ioc); void put_io_context(struct io_context *ioc);
void put_io_context_active(struct io_context *ioc);
void exit_io_context(struct task_struct *task); void exit_io_context(struct task_struct *task);
struct io_context *get_task_io_context(struct task_struct *task, struct io_context *get_task_io_context(struct task_struct *task,
gfp_t gfp_flags, int node); gfp_t gfp_flags, int node);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment