mirror of
https://github.com/ceph/ceph
synced 2025-03-23 02:38:31 +00:00
Merge pull request #8796 from runsisi/wip-fix-invalidate
librbd: fix potential assertion during object map invalidation Reviewed-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
commit
678a020026
@ -47,6 +47,7 @@ void InvalidateRequest<I>::send() {
|
||||
r = image_ctx.update_flags(m_snap_id, flags, true);
|
||||
if (r < 0) {
|
||||
this->async_complete(r);
|
||||
return;
|
||||
}
|
||||
|
||||
// do not update on-disk flags if not image owner
|
||||
|
Loading…
Reference in New Issue
Block a user