mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
cls_rgw: return returned ret code
Wasn't setting the ret code. A coverity issue. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
This commit is contained in:
parent
58ad3bf3be
commit
8731d0d155
@ -297,7 +297,7 @@ int rgw_bucket_prepare_op(cls_method_context_t hctx, bufferlist *in, bufferlist
|
||||
// write out new key to disk
|
||||
bufferlist info_bl;
|
||||
::encode(entry, info_bl);
|
||||
cls_cxx_map_set_val(hctx, op.name, &info_bl);
|
||||
rc = cls_cxx_map_set_val(hctx, op.name, &info_bl);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user