Keep set_task_ioprio with the other low-level code that accesses the io_context structure.
Showing the changes to include (1 of 3 files). Show all
Unified · Split
| @@ -116,8 +116,6 @@ struct task_struct; · 115 unmodified lines | ||
| 116 | 116 | #ifdef CONFIG_BLOCK |
| 117 | 117 | void put_io_context(struct io_context *ioc); |
| 118 | 118 | void exit_io_context(struct task_struct *task); |
| 119 | −struct io_context *get_task_io_context(struct task_struct *task, | |
| 120 | − gfp_t gfp_flags, int node); | |
| 121 | 119 | int __copy_io(unsigned long clone_flags, struct task_struct *tsk); |
| 122 | 120 | static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk) |
| 123 | 121 | { |