Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librbd: tweak misleading "image is still primary" error message
m_promotion_state == PROMOTION_STATE_NON_PRIMARY doesn't say anything about the remote image. It could still be primary but it could also be demoted. Report the status of the local image instead. Fixes: https://tracker.ceph.com/issues/56676 Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
- Loading branch information