]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: rgw::sal::RGWBucket initializes creation_time 40134/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 11 Mar 2021 20:12:08 +0000 (15:12 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 15 Mar 2021 20:25:23 +0000 (16:25 -0400)
commite4432caf0f1f0e859924d2c1e851d3d1f34ff8ec
treee5d5df9318e4ff1a48dbabeaa03df9a5d57dbd71
parent8191ac7873f4253a74b5e91d2a1344df8e2a591c
rgw: rgw::sal::RGWBucket initializes creation_time

rgw::sal::RGWUser::list_buckets() uses the RGWBucketEnt constructor.
RGWBucketEnt::creation_time is initialized, but get_creation_time()
returns the uninitialized info.creation_time

Fixes: https://tracker.ceph.com/issues/49741
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 1b6f4d406dda73989bb718597f939e31c43ae01d)

Conflicts:
src/rgw/rgw_sal.h, no constructor for just RGWUser*
src/rgw/rgw_sal.h