Commit 8f0a248
io_uring: zero tag on rsrc removal
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>1 parent a07211e commit 8f0a248
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8927 | 8927 | | |
8928 | 8928 | | |
8929 | 8929 | | |
| 8930 | + | |
8930 | 8931 | | |
8931 | 8932 | | |
8932 | 8933 | | |
8933 | 8934 | | |
8934 | 8935 | | |
8935 | 8936 | | |
8936 | | - | |
| 8937 | + | |
| 8938 | + | |
8937 | 8939 | | |
8938 | 8940 | | |
8939 | 8941 | | |
| |||
0 commit comments