From: Kefu Chai Date: Thu, 3 Dec 2020 13:32:41 +0000 (+0800) Subject: rgw: pass null_yield to ctl->user->read_stats() X-Git-Tag: v16.1.0~391^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F38433%2Fhead;p=ceph.git rgw: pass null_yield to ctl->user->read_stats() this change fixes the FTBFS introduced by 4758e50c96afb2e14700e3b91161313ec9567692 Signed-off-by: Kefu Chai --- diff --git a/src/rgw/rgw_auth.cc b/src/rgw/rgw_auth.cc index dbdd021160d1..28fd85e0ff74 100644 --- a/src/rgw/rgw_auth.cc +++ b/src/rgw/rgw_auth.cc @@ -399,7 +399,7 @@ void rgw::auth::WebIdentityApplier::load_acct_info(const DoutPrefixProvider* dpp //Check if user_id.buckets already exists, may have been from the time, when shadow users didnt exist RGWStorageStats stats; - int ret = ctl->user->read_stats(federated_user, &stats); + int ret = ctl->user->read_stats(federated_user, &stats, null_yield); if (ret < 0 && ret != -ENOENT) { ldpp_dout(dpp, 0) << "ERROR: reading stats for the user returned error " << ret << dendl; return;