From f6af1e76a8847b105016b2d8f78a3508e838adbe Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Thu, 7 Feb 2013 14:40:11 -0800 Subject: [PATCH] rgw: fix bucket_owner assignment s->bucket_acl may be null, so reverting to old behavior. Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_log.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_log.cc b/src/rgw/rgw_log.cc index 474d83e421e30..57f73129f2936 100644 --- a/src/rgw/rgw_log.cc +++ b/src/rgw/rgw_log.cc @@ -304,7 +304,7 @@ int rgw_log_op(RGWRados *store, struct req_state *s, const string& op_name, OpsL entry.user = s->user.user_id; if (s->object_acl) entry.object_owner = s->object_acl->get_owner().get_id(); - entry.bucket_owner = s->bucket_acl->get_owner().get_id(); + entry.bucket_owner = s->bucket_owner.get_id(); uint64_t bytes_sent = s->cio->get_bytes_sent(); -- 2.39.5