]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: setup for inclusion of rgw_basic_types in rgw cls
authorMatt Benjamin <mbenjamin@redhat.com>
Sat, 19 Sep 2020 00:17:46 +0000 (20:17 -0400)
committerMykola Golub <mgolub@suse.com>
Tue, 13 Jun 2023 06:18:52 +0000 (07:18 +0100)
In downstream 4.1 version this change moved rgw_pool, rgw_bucket,
and some related types--but these have already moved on more
recent branches.

Include rgw_basic_types.h only from cls_rgw_types.h (review).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
(cherry picked from commit 9ee09fc27fb2b9783cffb094360b6e8a93ce5506)

src/rgw/rgw_basic_types.cc
src/rgw/rgw_common.h

index f306fa10ac9ea1e5e4afbec472fda45749d9f3df..991268aa444cbb3ff2c27db81e599ee0c6c7f3cf 100644 (file)
@@ -13,6 +13,8 @@
 
 #include "common/ceph_json.h"
 #include "common/Formatter.h"
+#include "cls/user/cls_user_types.h"
+#include "cls/rgw/cls_rgw_types.h"
 
 using std::ostream;
 using std::string;
index 25e5b24ad8170dde5731188b187993f92a26c72b..5a92c9db55b8c0b857df6aa179ffa31aec554b56 100644 (file)
@@ -26,6 +26,7 @@
 #include "rgw_acl.h"
 #include "rgw_bucket_layout.h"
 #include "rgw_cors.h"
+#include "rgw_basic_types.h"
 #include "rgw_iam_policy.h"
 #include "rgw_quota.h"
 #include "rgw_string.h"