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 | #ifdef CONFIG_BLOCK | 116 | #ifdef CONFIG_BLOCK |
| 117 | void put_io_context(struct io_context *ioc); | 117 | void put_io_context(struct io_context *ioc); |
| 118 | void exit_io_context(struct task_struct *task); | 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 | int __copy_io(unsigned long clone_flags, struct task_struct *tsk); | 119 | int __copy_io(unsigned long clone_flags, struct task_struct *tsk); |
| 122 | static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk) | 120 | static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk) |
| 123 | { | 121 | { |