History

block: move set_task_ioprio to blk-ioc.c

Keep set_task_ioprio with the other low-level code that accesses the io_context structure.

Christoph Hellwig committed 4 years ago

Commit a411cd31 parent 091abcb3 files · +32 −36Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/linux/iocontext.h+0−2
@@ -116,8 +116,6 @@ struct task_struct; · 115 unmodified lines
116116 #ifdef CONFIG_BLOCK
117117 void put_io_context(struct io_context *ioc);
118118 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);
121119 int __copy_io(unsigned long clone_flags, struct task_struct *tsk);
122120 static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk)
123121 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t