mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +00:00
cls_rbd: encode entity_addr_t with features
mirror_image_status_get method call currently fails with EIO Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
parent
25dfbd09f4
commit
051c96589e
@ -3219,7 +3219,7 @@ int image_status_set(cls_method_context_t hctx, const string &global_image_id,
|
||||
assert(r == 0);
|
||||
|
||||
bufferlist bl;
|
||||
encode(ondisk_status, bl);
|
||||
encode(ondisk_status, bl, cls_get_features(hctx));
|
||||
|
||||
r = cls_cxx_map_set_val(hctx, status_global_key(global_image_id), &bl);
|
||||
if (r < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user