Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librbd: only update image flags when holding exclusive lock
It was possible for a client to open an image while another client was shrinking an image. This would result in the former invalidating the object map on-disk if it openned the image between updating the image header and resizing the object map. Fixes: #11791 Backport: hammer Signed-off-by: Jason Dillaman <dillaman@redhat.com> (cherry picked from commit eb81a6a)
- Loading branch information