diff options
Diffstat (limited to 'include/linux/iocontext.h')
-rw-r--r-- | include/linux/iocontext.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/iocontext.h b/include/linux/iocontext.h index 7e1371c4bccf..119773eebe31 100644 --- a/include/linux/iocontext.h +++ b/include/linux/iocontext.h | |||
@@ -133,7 +133,7 @@ static inline struct io_context *ioc_task_link(struct io_context *ioc) | |||
133 | 133 | ||
134 | struct task_struct; | 134 | struct task_struct; |
135 | #ifdef CONFIG_BLOCK | 135 | #ifdef CONFIG_BLOCK |
136 | void put_io_context(struct io_context *ioc, struct request_queue *locked_q); | 136 | void put_io_context(struct io_context *ioc); |
137 | void exit_io_context(struct task_struct *task); | 137 | void exit_io_context(struct task_struct *task); |
138 | struct io_context *get_task_io_context(struct task_struct *task, | 138 | struct io_context *get_task_io_context(struct task_struct *task, |
139 | gfp_t gfp_flags, int node); | 139 | gfp_t gfp_flags, int node); |
@@ -141,8 +141,7 @@ void ioc_ioprio_changed(struct io_context *ioc, int ioprio); | |||
141 | void ioc_cgroup_changed(struct io_context *ioc); | 141 | void ioc_cgroup_changed(struct io_context *ioc); |
142 | #else | 142 | #else |
143 | struct io_context; | 143 | struct io_context; |
144 | static inline void put_io_context(struct io_context *ioc, | 144 | static inline void put_io_context(struct io_context *ioc) { } |
145 | struct request_queue *locked_q) { } | ||
146 | static inline void exit_io_context(struct task_struct *task) { } | 145 | static inline void exit_io_context(struct task_struct *task) { } |
147 | #endif | 146 | #endif |
148 | 147 | ||