From 3895878cfd9571064d57a6e2afd33ab2fb118b60 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 16 Mar 2016 20:41:16 +0800 Subject: [PATCH] rgw/rgw_common.h: fix the RGWBucketInfo decoding introduced by 416234b Signed-off-by: Kefu Chai --- src/rgw/rgw_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index dcce8d84b3b2..aa2d6415748d 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -935,9 +935,9 @@ struct RGWBucketInfo ::decode(flags, bl); if (struct_v >= 5) ::decode(zonegroup, bl); - uint64_t ct; - ::decode(ct, bl); if (struct_v >= 6 && struct_v < 17) { + uint64_t ct; + ::decode(ct, bl); creation_time = ceph::real_clock::from_time_t((time_t)ct); } if (struct_v >= 7) -- 2.47.3