mbox series

[0/2] block/blkio: fix fd leak and add more comments for the fd passing

Message ID 20230801160332.122564-1-sgarzare@redhat.com (mailing list archive)
Headers show
Series block/blkio: fix fd leak and add more comments for the fd passing | expand

Message

Stefano Garzarella Aug. 1, 2023, 4:03 p.m. UTC
Hanna discovered an fd leak in the error path, and a few comments to
improve in the code.

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 | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)