Commit ea91067
io_uring: don't pass ctx to tw add remote helper
Unlike earlier versions, io_msg_remote_post() creates a valid request
with a proper context, so don't pass a context to
io_req_task_work_add_remote() explicitly but derive it from the request.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/721f51cf34996d98b48f0bfd24ad40aa2730167e.1743190078.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>1 parent 9cc0bbd commit ea91067
3 files changed
+8
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1141 | 1141 | | |
1142 | 1142 | | |
1143 | 1143 | | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
| 1144 | + | |
1147 | 1145 | | |
| 1146 | + | |
1148 | 1147 | | |
1149 | 1148 | | |
1150 | 1149 | | |
| |||
1239 | 1238 | | |
1240 | 1239 | | |
1241 | 1240 | | |
1242 | | - | |
| 1241 | + | |
1243 | 1242 | | |
1244 | 1243 | | |
1245 | 1244 | | |
1246 | 1245 | | |
1247 | | - | |
1248 | | - | |
| 1246 | + | |
1249 | 1247 | | |
1250 | | - | |
| 1248 | + | |
1251 | 1249 | | |
1252 | | - | |
| 1250 | + | |
1253 | 1251 | | |
1254 | 1252 | | |
1255 | 1253 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments