Fixes: https://tracker.ceph.com/issues/58725
Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
13299bccc6ae42579a9def4776270abd334e9efe)
Conflicts:
src/rgw/driver/rados/rgw_sal_rados.cc
(changed file location and check_quota signature)
int RGWRadosBucket::check_quota(RGWQuotaInfo& user_quota, RGWQuotaInfo& bucket_quota, uint64_t obj_size,
optional_yield y, bool check_size_only)
{
- return store->getRados()->check_quota(owner->get_user(), get_key(),
+ return store->getRados()->check_quota(info.owner, get_key(),
user_quota, bucket_quota, obj_size, y, check_size_only);
}