mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
rgw: remove extra useless info in bucket entry encoding
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
This commit is contained in:
parent
fbbbd01bfe
commit
9065dbd36d
@ -610,7 +610,8 @@ struct RGWBucketEnt {
|
||||
::encode(struct_v, bl);
|
||||
uint64_t s = size;
|
||||
__u32 mt = mtime;
|
||||
::encode(bucket.name, bl);
|
||||
string empty_str; // originally had the bucket name here, but we encode bucket later
|
||||
::encode(empty_str, bl);
|
||||
::encode(s, bl);
|
||||
::encode(mt, bl);
|
||||
::encode(count, bl);
|
||||
@ -623,7 +624,8 @@ struct RGWBucketEnt {
|
||||
::decode(struct_v, bl);
|
||||
__u32 mt;
|
||||
uint64_t s;
|
||||
::decode(bucket.name, bl);
|
||||
string empty_str; // backward compatibility
|
||||
::decode(empty_str, bl);
|
||||
::decode(s, bl);
|
||||
::decode(mt, bl);
|
||||
size = s;
|
||||
|
Loading…
Reference in New Issue
Block a user