]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: pass null_yield to ctl->user->read_stats() 38433/head
authorKefu Chai <kchai@redhat.com>
Thu, 3 Dec 2020 13:32:41 +0000 (21:32 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 3 Dec 2020 13:34:35 +0000 (21:34 +0800)
this change fixes the FTBFS introduced by
4758e50c96afb2e14700e3b91161313ec9567692

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/rgw/rgw_auth.cc

index dbdd021160d1233b0959a6e822a0e653fc58fef2..28fd85e0ff7433bdc3e2bd36e7222d967ad74e06 100644 (file)
@@ -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;