mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-20 22:36:42 +00:00
This prevents the need to open the IOContext for additional operations on the image. It also addresses a leak of the IOContext in case `rbdVolume.open()` was called. The method only returned the `rbd.Image` without the possibility to close the related IOContext. Signed-off-by: Niels de Vos <ndevos@redhat.com>