]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: zero tag on rsrc removal
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 7 Apr 2022 13:05:04 +0000 (14:05 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 7 Apr 2022 17:17:47 +0000 (11:17 -0600)
commit959bc5c5d5e9e19bf8192e81b22a4170b9f08364
tree46369111b8f9f03bc8440642583e64922bde3726
parentb6f1074ea2623b430b4dda7b3f7d457cac41d094
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>
fs/io_uring.c