block/blkio: fix fd leak and add more comments for the fd passing
Status from this message: Thanks, applied to my block tree:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesApplied
- v12 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- avoid to use fd_supported to track a valid fd [Hanna]
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block/blkio: close the fd when blkio_connect() failsblock/ | +8 | 1 reply | |
| 2/2 | block/blkio: add more comments on the fd passing handlingblock/ | +12 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Hanna Czenczek |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] block/blkio: fix fd leak and add more comments for the fd passing
Hanna discovered an fd leak in the error path, and a few comments to improve in the code.
v2:
- avoid to use fd_supported to track a valid fd [Hanna]
v1: https://lore.kernel.org/qemu-devel/[email protected]/
Stefano Garzarella (2):
block/blkio: close the fd when blkio_connect() fails block/blkio: add more comments on the fd passing handling
block/blkio.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-)
Signature · 1 line
2.41.0