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 c5caea6006532..b074fa409716c 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 82ad868bfa7fd..53eb55e32d849 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 432e6a882b666..e11cf2e5b2d6e 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 563e798adeb7f..f62f75d2a5d68 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 2cdccc34c5579..928f04cb3294f 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 6cf13d44119c4..615c6b3160448 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 b8d6ee57024df..68f8167f1fdb2 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 53d91ca3833b2..3e5f0e774cfaa 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 7513e04e9461a..1ac1be259d3ee 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 97dea4bea0e95..954b8865fb4e3 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 d9a3c52ba0910..e99c3f7cdda0b 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 55e744e6faea0..b4ac14a7d2e70 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 21e7a81ba9334..772aecfa55c0c 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 2c2e9ccfdd351..d8a8945305898 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 0fc227a546854..2fbd517cc765c 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 d0fdd6bfdf334..fd530ad5e672e 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 6e2be182bf00c..b1acb9813d924 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 d756cfd52a7fd..a8186db933569 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 f99abaad8f086..07dbab5d3e270 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 892cda787ce40..62e34d45c0f9f 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 67e8e83c65215..fe7bd438f1501 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 1e60e651512fe..9097e5f1b5408 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 d2516dd03570d..da5a2afc2e57e 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 4fa3499f2e291..0fc0d8a202027 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 b6789483b77bd..37eeb2d34e00d 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 15465534e799e..6a5e38a23184d 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 94ce0f072bc64..f53d972f3fe40 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 915c81e34f253..c50a8c0d66bcc 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 1cc379c74e706..9ac6dd1484c83 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 ab345bcbd1bc7..776f137609cea 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 a31307acc9cf7..37f020e39c5af 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 cd6d54a674c21..5983dd915c113 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 03676a171f70f..8fccca05d9c88 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 5b2702006c197..b8421f4d49968 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 4c207078844dc..f8abf72f7c4fa 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 aad61950e9ec6..d9080f443f3e4 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 21a00e5b7f69d..aa398ea6e9b86 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 7e7b043e92b82..8663b445d08e1 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 ea390a29e9cd4..d344fd2987d72 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 4b3ec267d1e1b..ce5a27a00a38f 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 3aa9cd8bf3c50..f266f5a7fedad 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 0fdc5cabaf103..a3174e3ed0302 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 e7f4225de1324..4fa0f0258388d 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 f0f4b5136ff4d..d8076faec9a0d 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 cd4d4bf2fcdc1..39410972d4c9a 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 1e4058eadf8b8..4d8114a3269cd 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 6877d0cfc3e97..361d513362757 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 ba3c65896ef23..e1843cc36ccfe 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 05ef5f1ab5021..052bc7a5be65e 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 167bb17a8acbe..a048aa7d80903 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 ef184776b198b..e5b863d034b94 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 d4539eb5eaee1..56ca129b0aaf8 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 6fece1d6af44b..6daeca16dfeeb 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 7b125035c73aa..d5fbf814529a0 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 ad1d26c08f865..0f81d54c9b884 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 712a7e2d5a1d4..728813c7329b0 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 7df943d11785f..7c36a03253881 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 3834c75cf5d30..24e6bba65ca93 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 fa6416ee5db37..209ef964615a3 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 e8056814d8549..90202cdcc4e5e 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 8ecf3d9c6ef0f..6721c398e2e1c 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 59cfca7490d6e..31323f34038b3 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 d7f14a356a1cf..895f4e61bd70b 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 b52000d789525..9a7e3735ae6b8 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 d9d960d8b9f2e..90976099acb6f 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 83aa4f3932071..0369806c0d92a 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 a9558df74ac4e..316bacdb6cadf 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 3abae7f3343dc..0c0d02d5dad5d 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 5a82faa532d3f..2c46b64e49e1a 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 78a6e8346f678..7774e164522ab 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 5c60a2dc05d19..cae02600477fa 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 3c9023cf72b44..13d1f63a1cf43 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 196f98541e94a..88248c321014e 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 88cb68c476803..dcb7985147779 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 a9c0d5d9ee325..28a7fdf8b21b6 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 334f466277d61..a44202b5b55fc 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 b01f98f011de4..3ee21211270a8 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 7dcda39cbf72b..2e78216a2ce63 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 ee97e473f88e5..ef4841d94b84f 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 4dd0698f23517..b31b8e2cc2117 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 4a64add072b65..2b893aadfd5a9 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 d64fb9d826de9..d0059e328e6df 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 1566ff4c8b03e..34aa00e939d19 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 2a372f3a34fcd..d2925cf18a550 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 6cfbb1aa3f804..f793c0ab8b1a7 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 6c8467deef020..fe8bbc348593a 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 9d6c8bb9e3a11..d9f52b7af857a 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 a626ec64e0509..a5c6f76e455b5 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 d0496aedf5989..8f50133d91c07 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 35d8e47b25b40..7a4753e16c9ef 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 fd6a0d6ed5882..c135323d076b1 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 69599e60bdf76..a546b349fc734 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 7695345cb8c81..fb6a2d4d9468a 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 ff64efca7223b..44a9364b8028b 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 5366ebdb0feed..e8f0d452f4f4f 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 f982915382ceb..5670825d3b1e9 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