diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2014-01-24 02:04:06 +0100 |
---|---|---|
committer | Yehuda Sadeh <yehuda@inktank.com> | 2014-01-25 00:07:36 +0100 |
commit | e5dc8d6583d5fe107a26fec9d3ca354c6ee6e588 (patch) | |
tree | 90ef881faf72937ffcaa4f0d7f874c66512eb1c4 /src/cls/user/cls_user_client.h | |
parent | rgw: implement restful set user quota request (diff) | |
download | ceph-e5dc8d6583d5fe107a26fec9d3ca354c6ee6e588.tar.xz ceph-e5dc8d6583d5fe107a26fec9d3ca354c6ee6e588.zip |
rgw, cls_user: handle error cases related to response decoding
Certain operations weren't handling errors in decode, add some missing
logic.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Diffstat (limited to 'src/cls/user/cls_user_client.h')
-rw-r--r-- | src/cls/user/cls_user_client.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cls/user/cls_user_client.h b/src/cls/user/cls_user_client.h index 62e96294997..dcfdab6f6c4 100644 --- a/src/cls/user/cls_user_client.h +++ b/src/cls/user/cls_user_client.h @@ -25,8 +25,9 @@ void cls_user_remove_bucket(librados::ObjectWriteOperation& op, const cls_user_ void cls_user_bucket_list(librados::ObjectReadOperation& op, const string& in_marker, int max_entries, list<cls_user_bucket_entry>& entries, - string *out_marker, bool *truncated); -void cls_user_get_header(librados::ObjectReadOperation& op, cls_user_header *header); + string *out_marker, bool *truncated, + int *pret); +void cls_user_get_header(librados::ObjectReadOperation& op, cls_user_header *header, int *pret); int cls_user_get_header_async(librados::IoCtx& io_ctx, string& oid, RGWGetUserHeader_CB *ctx); #endif |