Commit 5218d5c
io_uring: zero tag on rsrc removal
[ Upstream commit 8f0a248 ]
Automatically default rsrc tag in io_queue_rsrc_removal(), it's safer
than leaving it there and relying on the rest of the code to behave and
not use it.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/1cf262a50df17478ea25b22494dcc19f3a80301f.1649336342.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent efb0209 commit 5218d5c
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8413 | 8413 | | |
8414 | 8414 | | |
8415 | 8415 | | |
| 8416 | + | |
8416 | 8417 | | |
8417 | 8418 | | |
8418 | 8419 | | |
8419 | 8420 | | |
8420 | 8421 | | |
8421 | 8422 | | |
8422 | | - | |
| 8423 | + | |
| 8424 | + | |
8423 | 8425 | | |
8424 | 8426 | | |
8425 | 8427 | | |
| |||
0 commit comments