Commit 4d52f33
io_uring: do poll's hash_node init in common code
Move INIT_HLIST_NODE(&req->hash_node) into __io_arm_poll_handler(), so
that it doesn't duplicated and common poll code would be responsible for
it.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent dd221f4 commit 4d52f33
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5097 | 5097 | | |
5098 | 5098 | | |
5099 | 5099 | | |
| 5100 | + | |
5100 | 5101 | | |
5101 | 5102 | | |
5102 | 5103 | | |
| |||
5158 | 5159 | | |
5159 | 5160 | | |
5160 | 5161 | | |
5161 | | - | |
5162 | 5162 | | |
5163 | 5163 | | |
5164 | 5164 | | |
| |||
5357 | 5357 | | |
5358 | 5358 | | |
5359 | 5359 | | |
5360 | | - | |
5361 | 5360 | | |
5362 | 5361 | | |
5363 | 5362 | | |
| |||
0 commit comments