From b2a8ba88463a05bb79ecbb43a048d1b7dc1b8906 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 3 Dec 2020 21:32:41 +0800 Subject: [PATCH] rgw: pass null_yield to ctl->user->read_stats() this change fixes the FTBFS introduced by 4758e50c96afb2e14700e3b91161313ec9567692 Signed-off-by: Kefu Chai --- src/rgw/rgw_auth.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_auth.cc b/src/rgw/rgw_auth.cc index dbdd021160d12..28fd85e0ff743 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; -- 2.39.5