From cac57e647edc8d51b996eaf658a98a488517604e Mon Sep 17 00:00:00 2001 From: "J. Eric Ivancich" Date: Tue, 11 Dec 2018 11:43:05 -0500 Subject: [PATCH] rgw: clean-up -- insure C++ source code files contain editor directives Most, although not all, source code files have a comment on the first two lines describing the C++ formatting conventions used. This commit adds that directive to the files lacking it. Also, vertical whitespace was made more consistent. Note: this only touches files specifically for RGW. Signed-off-by: J. Eric Ivancich --- src/cls/rgw/cls_rgw_client.cc | 1 + src/cls/rgw/cls_rgw_ops.cc | 2 ++ src/cls/rgw/cls_rgw_types.cc | 2 ++ src/rgw/librgw.cc | 2 ++ src/rgw/librgw_admin_user.cc | 1 + src/rgw/rgw_admin_user.cc | 3 +++ src/rgw/rgw_admin_user.h | 1 + src/rgw/rgw_aio.h | 1 + src/rgw/rgw_aio_throttle.cc | 1 + src/rgw/rgw_aio_throttle.h | 1 + src/rgw/rgw_asio_client.h | 1 + src/rgw/rgw_basic_types.cc | 3 +++ src/rgw/rgw_basic_types.h | 1 + src/rgw/rgw_civetweb_log.cc | 3 +++ src/rgw/rgw_civetweb_log.h | 3 +++ src/rgw/rgw_common.h | 1 + src/rgw/rgw_compression.cc | 1 - src/rgw/rgw_coroutine.cc | 2 ++ src/rgw/rgw_cors.cc | 2 ++ src/rgw/rgw_cors.h | 1 + src/rgw/rgw_cors_s3.cc | 2 ++ src/rgw/rgw_cors_s3.h | 1 + src/rgw/rgw_cors_swift.h | 1 + src/rgw/rgw_cr_rados.cc | 3 +++ src/rgw/rgw_cr_rados.h | 3 +++ src/rgw/rgw_cr_rest.cc | 3 +++ src/rgw/rgw_cr_rest.h | 3 +++ src/rgw/rgw_crypt.cc | 2 ++ src/rgw/rgw_crypt.h | 2 ++ src/rgw/rgw_crypt_sanitize.cc | 3 +++ src/rgw/rgw_data_sync.h | 3 +++ src/rgw/rgw_es_main.cc | 3 +++ src/rgw/rgw_es_query.cc | 3 +++ src/rgw/rgw_es_query.h | 3 +++ src/rgw/rgw_formats.cc | 1 + src/rgw/rgw_http_client_curl.h | 2 ++ src/rgw/rgw_lc.h | 3 +++ src/rgw/rgw_lc_s3.cc | 3 +++ src/rgw/rgw_lc_s3.h | 3 +++ src/rgw/rgw_lib.h | 1 + src/rgw/rgw_main.cc | 1 + src/rgw/rgw_meta_sync_status.h | 3 +++ src/rgw/rgw_op.h | 2 ++ src/rgw/rgw_orphan.h | 1 + src/rgw/rgw_putobj.cc | 1 + src/rgw/rgw_putobj.h | 1 + src/rgw/rgw_putobj_processor.cc | 1 + src/rgw/rgw_putobj_processor.h | 1 + src/rgw/rgw_quota.cc | 1 + src/rgw/rgw_quota.h | 1 + src/rgw/rgw_rest_config.cc | 2 ++ src/rgw/rgw_rest_config.h | 1 + src/rgw/rgw_rest_log.cc | 2 ++ src/rgw/rgw_rest_log.h | 1 + src/rgw/rgw_rest_metadata.cc | 2 ++ src/rgw/rgw_rest_metadata.h | 1 + src/rgw/rgw_rest_role.cc | 1 + src/rgw/rgw_rest_role.h | 1 + src/rgw/rgw_rest_s3website.h | 2 ++ src/rgw/rgw_rest_sts.cc | 3 +++ src/rgw/rgw_rest_sts.h | 3 +++ src/rgw/rgw_rest_user_policy.cc | 1 + src/rgw/rgw_rest_user_policy.h | 1 + src/rgw/rgw_role.cc | 3 +++ src/rgw/rgw_role.h | 3 +++ src/rgw/rgw_service.cc | 3 +++ src/rgw/rgw_service.h | 3 +++ src/rgw/rgw_sts.cc | 5 ++++- src/rgw/rgw_sts.h | 3 +++ src/rgw/rgw_sync.h | 3 +++ src/rgw/rgw_sync_log_trim.cc | 1 + src/rgw/rgw_sync_log_trim.h | 1 + src/rgw/rgw_sync_module.cc | 3 +++ src/rgw/rgw_sync_module.h | 3 +++ src/rgw/rgw_sync_module_aws.cc | 3 +++ src/rgw/rgw_sync_module_aws.h | 3 +++ src/rgw/rgw_sync_module_es.cc | 3 +++ src/rgw/rgw_sync_module_es.h | 3 +++ src/rgw/rgw_sync_module_es_rest.cc | 3 +++ src/rgw/rgw_sync_module_es_rest.h | 3 +++ src/rgw/rgw_sync_module_log.cc | 3 +++ src/rgw/rgw_sync_module_log.h | 3 +++ src/rgw/rgw_sync_trace.cc | 3 +++ src/rgw/rgw_sync_trace.h | 1 + src/rgw/rgw_tag.cc | 2 ++ src/rgw/rgw_tag.h | 3 +++ src/rgw/rgw_tag_s3.cc | 3 +++ src/rgw/rgw_token.cc | 1 + src/rgw/rgw_token.h | 1 + src/rgw/rgw_torrent.cc | 3 +++ src/rgw/rgw_torrent.h | 3 +++ src/rgw/rgw_website.cc | 2 ++ src/rgw/rgw_website.h | 2 ++ src/rgw/rgw_xml_enc.cc | 2 ++ src/rgw/rgw_zone.cc | 3 +++ src/rgw/rgw_zone.h | 3 +++ 96 files changed, 200 insertions(+), 2 deletions(-) diff --git a/src/cls/rgw/cls_rgw_client.cc b/src/cls/rgw/cls_rgw_client.cc index c5caea60065..b074fa40971 100644 --- a/src/cls/rgw/cls_rgw_client.cc +++ b/src/cls/rgw/cls_rgw_client.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #include #include "cls/rgw/cls_rgw_const.h" diff --git a/src/cls/rgw/cls_rgw_ops.cc b/src/cls/rgw/cls_rgw_ops.cc index 82ad868bfa7..53eb55e32d8 100644 --- a/src/cls/rgw/cls_rgw_ops.cc +++ b/src/cls/rgw/cls_rgw_ops.cc @@ -1,3 +1,5 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab #include "cls/rgw/cls_rgw_ops.h" diff --git a/src/cls/rgw/cls_rgw_types.cc b/src/cls/rgw/cls_rgw_types.cc index 432e6a882b6..e11cf2e5b2d 100644 --- a/src/cls/rgw/cls_rgw_types.cc +++ b/src/cls/rgw/cls_rgw_types.cc @@ -1,3 +1,5 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab #include "cls/rgw/cls_rgw_types.h" #include "common/ceph_json.h" diff --git a/src/rgw/librgw.cc b/src/rgw/librgw.cc index 563e798adeb..f62f75d2a5d 100644 --- a/src/rgw/librgw.cc +++ b/src/rgw/librgw.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include "include/compat.h" #include #include diff --git a/src/rgw/librgw_admin_user.cc b/src/rgw/librgw_admin_user.cc index 2cdccc34c55..928f04cb329 100644 --- a/src/rgw/librgw_admin_user.cc +++ b/src/rgw/librgw_admin_user.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * create rgw admin user * diff --git a/src/rgw/rgw_admin_user.cc b/src/rgw/rgw_admin_user.cc index 6cf13d44119..615c6b31604 100644 --- a/src/rgw/rgw_admin_user.cc +++ b/src/rgw/rgw_admin_user.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "include/rgw/librgw_admin_user.h" #include "rgw_admin_user.h" #include "rgw_user.h" diff --git a/src/rgw/rgw_admin_user.h b/src/rgw/rgw_admin_user.h index b8d6ee57024..68f8167f1fd 100644 --- a/src/rgw/rgw_admin_user.h +++ b/src/rgw/rgw_admin_user.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * create rgw admin user * diff --git a/src/rgw/rgw_aio.h b/src/rgw/rgw_aio.h index 53d91ca3833..3e5f0e774cf 100644 --- a/src/rgw/rgw_aio.h +++ b/src/rgw/rgw_aio.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_aio_throttle.cc b/src/rgw/rgw_aio_throttle.cc index 7513e04e946..1ac1be259d3 100644 --- a/src/rgw/rgw_aio_throttle.cc +++ b/src/rgw/rgw_aio_throttle.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_aio_throttle.h b/src/rgw/rgw_aio_throttle.h index 97dea4bea0e..954b8865fb4 100644 --- a/src/rgw/rgw_aio_throttle.h +++ b/src/rgw/rgw_aio_throttle.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_asio_client.h b/src/rgw/rgw_asio_client.h index d9a3c52ba09..e99c3f7cdda 100644 --- a/src/rgw/rgw_asio_client.h +++ b/src/rgw/rgw_asio_client.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef RGW_ASIO_CLIENT_H #define RGW_ASIO_CLIENT_H diff --git a/src/rgw/rgw_basic_types.cc b/src/rgw/rgw_basic_types.cc index 55e744e6fae..b4ac14a7d2e 100644 --- a/src/rgw/rgw_basic_types.cc +++ b/src/rgw/rgw_basic_types.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_basic_types.h b/src/rgw/rgw_basic_types.h index 21e7a81ba93..772aecfa55c 100644 --- a/src/rgw/rgw_basic_types.h +++ b/src/rgw/rgw_basic_types.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_BASIC_TYPES_H #define CEPH_RGW_BASIC_TYPES_H diff --git a/src/rgw/rgw_civetweb_log.cc b/src/rgw/rgw_civetweb_log.cc index 2c2e9ccfdd3..d8a89453058 100644 --- a/src/rgw/rgw_civetweb_log.cc +++ b/src/rgw/rgw_civetweb_log.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "common/config.h" #include "rgw_common.h" diff --git a/src/rgw/rgw_civetweb_log.h b/src/rgw/rgw_civetweb_log.h index 0fc227a5468..2fbd517cc76 100644 --- a/src/rgw/rgw_civetweb_log.h +++ b/src/rgw/rgw_civetweb_log.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_CIVETWEB_LOG_H #define CEPH_RGW_CIVETWEB_LOG_H diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index d0fdd6bfdf3..fd530ad5e67 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_compression.cc b/src/rgw/rgw_compression.cc index 6e2be182bf0..b1acb9813d9 100644 --- a/src/rgw/rgw_compression.cc +++ b/src/rgw/rgw_compression.cc @@ -1,4 +1,3 @@ - // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab diff --git a/src/rgw/rgw_coroutine.cc b/src/rgw/rgw_coroutine.cc index d756cfd52a7..a8186db9335 100644 --- a/src/rgw/rgw_coroutine.cc +++ b/src/rgw/rgw_coroutine.cc @@ -1,3 +1,5 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab #include "common/ceph_json.h" #include "rgw_coroutine.h" diff --git a/src/rgw/rgw_cors.cc b/src/rgw/rgw_cors.cc index f99abaad8f0..07dbab5d3e2 100644 --- a/src/rgw/rgw_cors.cc +++ b/src/rgw/rgw_cors.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include #include diff --git a/src/rgw/rgw_cors.h b/src/rgw/rgw_cors.h index 892cda787ce..62e34d45c0f 100644 --- a/src/rgw/rgw_cors.h +++ b/src/rgw/rgw_cors.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_cors_s3.cc b/src/rgw/rgw_cors_s3.cc index 67e8e83c652..fe7bd438f15 100644 --- a/src/rgw/rgw_cors_s3.cc +++ b/src/rgw/rgw_cors_s3.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include #include diff --git a/src/rgw/rgw_cors_s3.h b/src/rgw/rgw_cors_s3.h index 1e60e651512..9097e5f1b54 100644 --- a/src/rgw/rgw_cors_s3.h +++ b/src/rgw/rgw_cors_s3.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_cors_swift.h b/src/rgw/rgw_cors_swift.h index d2516dd0357..da5a2afc2e5 100644 --- a/src/rgw/rgw_cors_swift.h +++ b/src/rgw/rgw_cors_swift.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_cr_rados.cc b/src/rgw/rgw_cr_rados.cc index 4fa3499f2e2..0fc0d8a2020 100644 --- a/src/rgw/rgw_cr_rados.cc +++ b/src/rgw/rgw_cr_rados.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_rados.h" #include "rgw_zone.h" #include "rgw_coroutine.h" diff --git a/src/rgw/rgw_cr_rados.h b/src/rgw/rgw_cr_rados.h index b6789483b77..37eeb2d34e0 100644 --- a/src/rgw/rgw_cr_rados.h +++ b/src/rgw/rgw_cr_rados.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_CR_RADOS_H #define CEPH_RGW_CR_RADOS_H diff --git a/src/rgw/rgw_cr_rest.cc b/src/rgw/rgw_cr_rest.cc index 15465534e79..6a5e38a2318 100644 --- a/src/rgw/rgw_cr_rest.cc +++ b/src/rgw/rgw_cr_rest.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_cr_rest.h" #include "rgw_coroutine.h" diff --git a/src/rgw/rgw_cr_rest.h b/src/rgw/rgw_cr_rest.h index 94ce0f072bc..f53d972f3fe 100644 --- a/src/rgw/rgw_cr_rest.h +++ b/src/rgw/rgw_cr_rest.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_CR_REST_H #define CEPH_RGW_CR_REST_H diff --git a/src/rgw/rgw_crypt.cc b/src/rgw/rgw_crypt.cc index 915c81e34f2..c50a8c0d66b 100644 --- a/src/rgw/rgw_crypt.cc +++ b/src/rgw/rgw_crypt.cc @@ -1,8 +1,10 @@ // -*- mode:C; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /** * Crypto filters for Put/Post/Get operations. */ + #include #include #include diff --git a/src/rgw/rgw_crypt.h b/src/rgw/rgw_crypt.h index 1cc379c74e7..9ac6dd1484c 100644 --- a/src/rgw/rgw_crypt.h +++ b/src/rgw/rgw_crypt.h @@ -1,8 +1,10 @@ // -*- mode:C; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /** * Crypto filters for Put/Post/Get operations. */ + #ifndef CEPH_RGW_CRYPT_H #define CEPH_RGW_CRYPT_H diff --git a/src/rgw/rgw_crypt_sanitize.cc b/src/rgw/rgw_crypt_sanitize.cc index ab345bcbd1b..776f137609c 100644 --- a/src/rgw/rgw_crypt_sanitize.cc +++ b/src/rgw/rgw_crypt_sanitize.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + /* * rgw_crypt_sanitize.cc * diff --git a/src/rgw/rgw_data_sync.h b/src/rgw/rgw_data_sync.h index a31307acc9c..37f020e39c5 100644 --- a/src/rgw/rgw_data_sync.h +++ b/src/rgw/rgw_data_sync.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_DATA_SYNC_H #define CEPH_RGW_DATA_SYNC_H diff --git a/src/rgw/rgw_es_main.cc b/src/rgw/rgw_es_main.cc index cd6d54a674c..5983dd915c1 100644 --- a/src/rgw/rgw_es_main.cc +++ b/src/rgw/rgw_es_main.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_es_query.cc b/src/rgw/rgw_es_query.cc index 03676a171f7..8fccca05d9c 100644 --- a/src/rgw/rgw_es_query.cc +++ b/src/rgw/rgw_es_query.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_es_query.h b/src/rgw/rgw_es_query.h index 5b2702006c1..b8421f4d499 100644 --- a/src/rgw/rgw_es_query.h +++ b/src/rgw/rgw_es_query.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_ES_QUERY_H #define CEPH_RGW_ES_QUERY_H diff --git a/src/rgw/rgw_formats.cc b/src/rgw/rgw_formats.cc index 4c207078844..f8abf72f7c4 100644 --- a/src/rgw/rgw_formats.cc +++ b/src/rgw/rgw_formats.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_http_client_curl.h b/src/rgw/rgw_http_client_curl.h index aad61950e9e..d9080f443f3 100644 --- a/src/rgw/rgw_http_client_curl.h +++ b/src/rgw/rgw_http_client_curl.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #ifndef RGW_HTTP_CLIENT_CURL_H #define RGW_HTTP_CLIENT_CURL_H diff --git a/src/rgw/rgw_lc.h b/src/rgw/rgw_lc.h index 21a00e5b7f6..aa398ea6e9b 100644 --- a/src/rgw/rgw_lc.h +++ b/src/rgw/rgw_lc.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_LC_H #define CEPH_RGW_LC_H diff --git a/src/rgw/rgw_lc_s3.cc b/src/rgw/rgw_lc_s3.cc index 7e7b043e92b..8663b445d08 100644 --- a/src/rgw/rgw_lc_s3.cc +++ b/src/rgw/rgw_lc_s3.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include diff --git a/src/rgw/rgw_lc_s3.h b/src/rgw/rgw_lc_s3.h index ea390a29e9c..d344fd2987d 100644 --- a/src/rgw/rgw_lc_s3.h +++ b/src/rgw/rgw_lc_s3.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_LC_S3_H #define CEPH_RGW_LC_S3_H diff --git a/src/rgw/rgw_lib.h b/src/rgw/rgw_lib.h index 4b3ec267d1e..ce5a27a00a3 100644 --- a/src/rgw/rgw_lib.h +++ b/src/rgw/rgw_lib.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef RGW_LIB_H #define RGW_LIB_H diff --git a/src/rgw/rgw_main.cc b/src/rgw/rgw_main.cc index 3aa9cd8bf3c..f266f5a7fed 100644 --- a/src/rgw/rgw_main.cc +++ b/src/rgw/rgw_main.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #include "common/ceph_argparse.h" #include "global/global_init.h" #include "global/signal_handler.h" diff --git a/src/rgw/rgw_meta_sync_status.h b/src/rgw/rgw_meta_sync_status.h index 0fdc5cabaf1..a3174e3ed03 100644 --- a/src/rgw/rgw_meta_sync_status.h +++ b/src/rgw/rgw_meta_sync_status.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef RGW_META_SYNC_STATUS_H #define RGW_META_SYNC_STATUS_H diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index e7f4225de13..4fa0f025838 100644 --- a/src/rgw/rgw_op.h +++ b/src/rgw/rgw_op.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /** * All operations via the rados gateway are carried out by * small classes known as RGWOps. This class contains a req_state @@ -8,6 +9,7 @@ * These subclasses must be further subclassed (by interface type) * to provide additional virtual methods such as send_response or get_params. */ + #ifndef CEPH_RGW_OP_H #define CEPH_RGW_OP_H diff --git a/src/rgw/rgw_orphan.h b/src/rgw/rgw_orphan.h index f0f4b5136ff..d8076faec9a 100644 --- a/src/rgw/rgw_orphan.h +++ b/src/rgw/rgw_orphan.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_putobj.cc b/src/rgw/rgw_putobj.cc index cd4d4bf2fcd..39410972d4c 100644 --- a/src/rgw/rgw_putobj.cc +++ b/src/rgw/rgw_putobj.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_putobj.h b/src/rgw/rgw_putobj.h index 1e4058eadf8..4d8114a3269 100644 --- a/src/rgw/rgw_putobj.h +++ b/src/rgw/rgw_putobj.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_putobj_processor.cc b/src/rgw/rgw_putobj_processor.cc index 6877d0cfc3e..361d5133627 100644 --- a/src/rgw/rgw_putobj_processor.cc +++ b/src/rgw/rgw_putobj_processor.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_putobj_processor.h b/src/rgw/rgw_putobj_processor.h index ba3c65896ef..e1843cc36cc 100644 --- a/src/rgw/rgw_putobj_processor.h +++ b/src/rgw/rgw_putobj_processor.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_quota.cc b/src/rgw/rgw_quota.cc index 05ef5f1ab50..052bc7a5be6 100644 --- a/src/rgw/rgw_quota.cc +++ b/src/rgw/rgw_quota.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_quota.h b/src/rgw/rgw_quota.h index 167bb17a8ac..a048aa7d809 100644 --- a/src/rgw/rgw_quota.h +++ b/src/rgw/rgw_quota.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_rest_config.cc b/src/rgw/rgw_rest_config.cc index ef184776b19..e5b863d034b 100644 --- a/src/rgw/rgw_rest_config.cc +++ b/src/rgw/rgw_rest_config.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include "common/ceph_json.h" #include "common/strtol.h" #include "rgw_rest.h" diff --git a/src/rgw/rgw_rest_config.h b/src/rgw/rgw_rest_config.h index d4539eb5eae..56ca129b0aa 100644 --- a/src/rgw/rgw_rest_config.h +++ b/src/rgw/rgw_rest_config.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_rest_log.cc b/src/rgw/rgw_rest_log.cc index 6fece1d6af4..6daeca16dfe 100644 --- a/src/rgw/rgw_rest_log.cc +++ b/src/rgw/rgw_rest_log.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include "common/ceph_json.h" #include "common/strtol.h" #include "rgw_rest.h" diff --git a/src/rgw/rgw_rest_log.h b/src/rgw/rgw_rest_log.h index 7b125035c73..d5fbf814529 100644 --- a/src/rgw/rgw_rest_log.h +++ b/src/rgw/rgw_rest_log.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_rest_metadata.cc b/src/rgw/rgw_rest_metadata.cc index ad1d26c08f8..0f81d54c9b8 100644 --- a/src/rgw/rgw_rest_metadata.cc +++ b/src/rgw/rgw_rest_metadata.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include "include/page.h" #include "rgw_rest.h" diff --git a/src/rgw/rgw_rest_metadata.h b/src/rgw/rgw_rest_metadata.h index 712a7e2d5a1..728813c7329 100644 --- a/src/rgw/rgw_rest_metadata.h +++ b/src/rgw/rgw_rest_metadata.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_rest_role.cc b/src/rgw/rgw_rest_role.cc index 7df943d1178..7c36a032538 100644 --- a/src/rgw/rgw_rest_role.cc +++ b/src/rgw/rgw_rest_role.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #include #include "common/errno.h" diff --git a/src/rgw/rgw_rest_role.h b/src/rgw/rgw_rest_role.h index 3834c75cf5d..24e6bba65ca 100644 --- a/src/rgw/rgw_rest_role.h +++ b/src/rgw/rgw_rest_role.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_REST_ROLE_H #define CEPH_RGW_REST_ROLE_H diff --git a/src/rgw/rgw_rest_s3website.h b/src/rgw/rgw_rest_s3website.h index fa6416ee5db..209ef964615 100644 --- a/src/rgw/rgw_rest_s3website.h +++ b/src/rgw/rgw_rest_s3website.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #ifndef CEPH_RGW_REST_S3WEBSITE_H #define CEPH_RGW_REST_S3WEBSITE_H diff --git a/src/rgw/rgw_rest_sts.cc b/src/rgw/rgw_rest_sts.cc index e8056814d85..90202cdcc4e 100644 --- a/src/rgw/rgw_rest_sts.cc +++ b/src/rgw/rgw_rest_sts.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_rest_sts.h b/src/rgw/rgw_rest_sts.h index 8ecf3d9c6ef..6721c398e2e 100644 --- a/src/rgw/rgw_rest_sts.h +++ b/src/rgw/rgw_rest_sts.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_REST_STS_H #define CEPH_RGW_REST_STS_H diff --git a/src/rgw/rgw_rest_user_policy.cc b/src/rgw/rgw_rest_user_policy.cc index 59cfca7490d..31323f34038 100644 --- a/src/rgw/rgw_rest_user_policy.cc +++ b/src/rgw/rgw_rest_user_policy.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #include #include diff --git a/src/rgw/rgw_rest_user_policy.h b/src/rgw/rgw_rest_user_policy.h index d7f14a356a1..895f4e61bd7 100644 --- a/src/rgw/rgw_rest_user_policy.h +++ b/src/rgw/rgw_rest_user_policy.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_REST_USER_POLICY_H #define CEPH_RGW_REST_USER_POLICY_H diff --git a/src/rgw/rgw_role.cc b/src/rgw/rgw_role.cc index b52000d7895..9a7e3735ae6 100644 --- a/src/rgw/rgw_role.cc +++ b/src/rgw/rgw_role.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_role.h b/src/rgw/rgw_role.h index d9d960d8b9f..90976099acb 100644 --- a/src/rgw/rgw_role.h +++ b/src/rgw/rgw_role.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_ROLE_H #define CEPH_RGW_ROLE_H diff --git a/src/rgw/rgw_service.cc b/src/rgw/rgw_service.cc index 83aa4f39320..0369806c0d9 100644 --- a/src/rgw/rgw_service.cc +++ b/src/rgw/rgw_service.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_service.h" #include "services/svc_finisher.h" diff --git a/src/rgw/rgw_service.h b/src/rgw/rgw_service.h index a9558df74ac..316bacdb6ca 100644 --- a/src/rgw/rgw_service.h +++ b/src/rgw/rgw_service.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SERVICE_H #define CEPH_RGW_SERVICE_H diff --git a/src/rgw/rgw_sts.cc b/src/rgw/rgw_sts.cc index 3abae7f3343..0c0d02d5dad 100644 --- a/src/rgw/rgw_sts.cc +++ b/src/rgw/rgw_sts.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include @@ -343,4 +346,4 @@ GetSessionTokenResponse STSService::getSessionToken(GetSessionTokenRequest& req) return make_tuple(0, cred); } -} \ No newline at end of file +} diff --git a/src/rgw/rgw_sts.h b/src/rgw/rgw_sts.h index 5a82faa532d..2c46b64e49e 100644 --- a/src/rgw/rgw_sts.h +++ b/src/rgw/rgw_sts.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_STS_H #define CEPH_RGW_STS_H diff --git a/src/rgw/rgw_sync.h b/src/rgw/rgw_sync.h index 78a6e8346f6..7774e164522 100644 --- a/src/rgw/rgw_sync.h +++ b/src/rgw/rgw_sync.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_H #define CEPH_RGW_SYNC_H diff --git a/src/rgw/rgw_sync_log_trim.cc b/src/rgw/rgw_sync_log_trim.cc index 5c60a2dc05d..cae02600477 100644 --- a/src/rgw/rgw_sync_log_trim.cc +++ b/src/rgw/rgw_sync_log_trim.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_sync_log_trim.h b/src/rgw/rgw_sync_log_trim.h index 3c9023cf72b..13d1f63a1cf 100644 --- a/src/rgw/rgw_sync_log_trim.h +++ b/src/rgw/rgw_sync_log_trim.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_sync_module.cc b/src/rgw/rgw_sync_module.cc index 196f98541e9..88248c32101 100644 --- a/src/rgw/rgw_sync_module.cc +++ b/src/rgw/rgw_sync_module.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_common.h" #include "rgw_coroutine.h" #include "rgw_cr_rados.h" diff --git a/src/rgw/rgw_sync_module.h b/src/rgw/rgw_sync_module.h index 88cb68c4768..dcb79851477 100644 --- a/src/rgw/rgw_sync_module.h +++ b/src/rgw/rgw_sync_module.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_MODULE_H #define CEPH_RGW_SYNC_MODULE_H diff --git a/src/rgw/rgw_sync_module_aws.cc b/src/rgw/rgw_sync_module_aws.cc index a9c0d5d9ee3..28a7fdf8b21 100644 --- a/src/rgw/rgw_sync_module_aws.cc +++ b/src/rgw/rgw_sync_module_aws.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "common/errno.h" #include "rgw_common.h" diff --git a/src/rgw/rgw_sync_module_aws.h b/src/rgw/rgw_sync_module_aws.h index 334f466277d..a44202b5b55 100644 --- a/src/rgw/rgw_sync_module_aws.h +++ b/src/rgw/rgw_sync_module_aws.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef RGW_SYNC_MODULE_AWS_H #define RGW_SYNC_MODULE_AWS_H diff --git a/src/rgw/rgw_sync_module_es.cc b/src/rgw/rgw_sync_module_es.cc index b01f98f011d..3ee21211270 100644 --- a/src/rgw/rgw_sync_module_es.cc +++ b/src/rgw/rgw_sync_module_es.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_common.h" #include "rgw_coroutine.h" #include "rgw_sync_module.h" diff --git a/src/rgw/rgw_sync_module_es.h b/src/rgw/rgw_sync_module_es.h index 7dcda39cbf7..2e78216a2ce 100644 --- a/src/rgw/rgw_sync_module_es.h +++ b/src/rgw/rgw_sync_module_es.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_MODULE_ES_H #define CEPH_RGW_SYNC_MODULE_ES_H diff --git a/src/rgw/rgw_sync_module_es_rest.cc b/src/rgw/rgw_sync_module_es_rest.cc index ee97e473f88..ef4841d94b8 100644 --- a/src/rgw/rgw_sync_module_es_rest.cc +++ b/src/rgw/rgw_sync_module_es_rest.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_sync_module_es.h" #include "rgw_sync_module_es_rest.h" #include "rgw_es_query.h" diff --git a/src/rgw/rgw_sync_module_es_rest.h b/src/rgw/rgw_sync_module_es_rest.h index 4dd0698f235..b31b8e2cc21 100644 --- a/src/rgw/rgw_sync_module_es_rest.h +++ b/src/rgw/rgw_sync_module_es_rest.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_MODULE_ES_REST_H #define CEPH_RGW_SYNC_MODULE_ES_REST_H diff --git a/src/rgw/rgw_sync_module_log.cc b/src/rgw/rgw_sync_module_log.cc index 4a64add072b..2b893aadfd5 100644 --- a/src/rgw/rgw_sync_module_log.cc +++ b/src/rgw/rgw_sync_module_log.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_common.h" #include "rgw_coroutine.h" #include "rgw_cr_rados.h" diff --git a/src/rgw/rgw_sync_module_log.h b/src/rgw/rgw_sync_module_log.h index d64fb9d826d..d0059e328e6 100644 --- a/src/rgw/rgw_sync_module_log.h +++ b/src/rgw/rgw_sync_module_log.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_MODULE_LOG_H #define CEPH_RGW_SYNC_MODULE_LOG_H diff --git a/src/rgw/rgw_sync_trace.cc b/src/rgw/rgw_sync_trace.cc index 1566ff4c8b0..34aa00e939d 100644 --- a/src/rgw/rgw_sync_trace.cc +++ b/src/rgw/rgw_sync_trace.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_TRACE_H #define CEPH_RGW_SYNC_TRACE_H diff --git a/src/rgw/rgw_sync_trace.h b/src/rgw/rgw_sync_trace.h index 2a372f3a34f..d2925cf18a5 100644 --- a/src/rgw/rgw_sync_trace.h +++ b/src/rgw/rgw_sync_trace.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_LOG_H #define CEPH_RGW_SYNC_LOG_H diff --git a/src/rgw/rgw_tag.cc b/src/rgw/rgw_tag.cc index 6cfbb1aa3f8..f793c0ab8b1 100644 --- a/src/rgw/rgw_tag.cc +++ b/src/rgw/rgw_tag.cc @@ -1,3 +1,5 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab #include #include diff --git a/src/rgw/rgw_tag.h b/src/rgw/rgw_tag.h index 6c8467deef0..fe8bbc34859 100644 --- a/src/rgw/rgw_tag.h +++ b/src/rgw/rgw_tag.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef RGW_TAG_H #define RGW_TAG_H diff --git a/src/rgw/rgw_tag_s3.cc b/src/rgw/rgw_tag_s3.cc index 9d6c8bb9e3a..d9f52b7af85 100644 --- a/src/rgw/rgw_tag_s3.cc +++ b/src/rgw/rgw_tag_s3.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_token.cc b/src/rgw/rgw_token.cc index a626ec64e05..a5c6f76e455 100644 --- a/src/rgw/rgw_token.cc +++ b/src/rgw/rgw_token.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_token.h b/src/rgw/rgw_token.h index d0496aedf59..8f50133d91c 100644 --- a/src/rgw/rgw_token.h +++ b/src/rgw/rgw_token.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_torrent.cc b/src/rgw/rgw_torrent.cc index 35d8e47b25b..7a4753e16c9 100644 --- a/src/rgw/rgw_torrent.cc +++ b/src/rgw/rgw_torrent.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include diff --git a/src/rgw/rgw_torrent.h b/src/rgw/rgw_torrent.h index fd6a0d6ed58..c135323d076 100644 --- a/src/rgw/rgw_torrent.h +++ b/src/rgw/rgw_torrent.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_TORRENT_H #define CEPH_RGW_TORRENT_H diff --git a/src/rgw/rgw_website.cc b/src/rgw/rgw_website.cc index 69599e60bdf..a546b349fc7 100644 --- a/src/rgw/rgw_website.cc +++ b/src/rgw/rgw_website.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -12,6 +13,7 @@ * Foundation. See file COPYING. * */ + #include "common/debug.h" #include "common/ceph_json.h" diff --git a/src/rgw/rgw_website.h b/src/rgw/rgw_website.h index 7695345cb8c..fb6a2d4d946 100644 --- a/src/rgw/rgw_website.h +++ b/src/rgw/rgw_website.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -12,6 +13,7 @@ * Foundation. See file COPYING. * */ + #ifndef RGW_WEBSITE_H #define RGW_WEBSITE_H diff --git a/src/rgw/rgw_xml_enc.cc b/src/rgw/rgw_xml_enc.cc index ff64efca722..44a9364b802 100644 --- a/src/rgw/rgw_xml_enc.cc +++ b/src/rgw/rgw_xml_enc.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -12,6 +13,7 @@ * Foundation. See file COPYING. * */ + #include "rgw_common.h" #include "rgw_xml.h" diff --git a/src/rgw/rgw_zone.cc b/src/rgw/rgw_zone.cc index 5366ebdb0fe..e8f0d452f4f 100644 --- a/src/rgw/rgw_zone.cc +++ b/src/rgw/rgw_zone.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "common/errno.h" #include "rgw_zone.h" diff --git a/src/rgw/rgw_zone.h b/src/rgw/rgw_zone.h index f982915382c..5670825d3b1 100644 --- a/src/rgw/rgw_zone.h +++ b/src/rgw/rgw_zone.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_ZONE_H #define CEPH_RGW_ZONE_H -- 2.39.5