From e376f67e2f561e12dc77a08efdd54574b7f090dc Mon Sep 17 00:00:00 2001 From: Edwin Rodriguez Date: Wed, 1 Oct 2025 09:09:52 -0400 Subject: [PATCH] Update indent settings remainder Fixes: https://tracker.ceph.com/issues/72587 Signed-off-by: Edwin Rodriguez --- examples/librados/hello_world_c.c | 4 ++-- qa/standalone/scrub/osd-mapper.sh | 4 ++-- qa/workunits/cephtool/test.sh | 4 ++-- qa/workunits/rados/ec-esb-fio.sh | 2 +- qa/workunits/rados/test_large_omap_detection.py | 2 +- src/arch/s390x.c | 4 ++-- src/auth/krb/KrbAuthorizeHandler.cpp | 4 ++-- src/auth/krb/KrbAuthorizeHandler.hpp | 4 ++-- src/auth/krb/KrbClientHandler.cpp | 4 ++-- src/auth/krb/KrbClientHandler.hpp | 4 ++-- src/auth/krb/KrbProtocol.cpp | 4 ++-- src/auth/krb/KrbProtocol.hpp | 4 ++-- src/auth/krb/KrbServiceHandler.cpp | 4 ++-- src/auth/krb/KrbServiceHandler.hpp | 4 ++-- src/auth/krb/KrbSessionHandler.hpp | 4 ++-- src/ceph-crash.in | 2 +- .../plugin/zfs/ceph_volume_zfs/devices/zfs/main.py | 2 +- src/ceph.in | 2 +- src/common/addr_parsing.c | 4 ++-- src/common/bit_vector.hpp | 4 ++-- src/common/bloom_filter.hpp | 4 ++-- src/common/map_cacher.hpp | 4 ++-- src/common/mime.c | 4 ++-- src/common/reverse.c | 4 ++-- src/common/safe_io.c | 4 ++-- src/common/secret.c | 4 ++-- src/common/shared_cache.hpp | 4 ++-- src/common/sharedptr_registry.hpp | 4 ++-- src/common/simple_cache.hpp | 4 ++-- src/common/tracked_int_ptr.hpp | 4 ++-- src/common/utf8.c | 4 ++-- src/doc/header.txt | 4 ++-- src/doc/modeline.txt | 4 ++-- src/erasure-code/shec/determinant.c | 4 ++-- src/include/neorados/RADOS.hpp | 4 ++-- src/include/neorados/RADOS_Decodable.hpp | 4 ++-- src/include/rbd/librbd.hpp | 4 ++-- src/pybind/ceph_daemon.py | 2 +- src/pybind/ceph_mgr_repl.py | 2 +- src/python-common/ceph/rgw/rgwam_core.py | 2 +- src/rbd_replay/BoundedBuffer.hpp | 4 ++-- src/rbd_replay/ImageNameMap.hpp | 4 ++-- src/rbd_replay/PendingIO.hpp | 4 ++-- src/rbd_replay/Replayer.hpp | 4 ++-- src/rbd_replay/actions.hpp | 4 ++-- src/rbd_replay/ios.hpp | 4 ++-- src/rbd_replay/rbd_loc.hpp | 4 ++-- src/rbd_replay/rbd_replay_debug.hpp | 4 ++-- src/rgw/driver/posix/bucket_cache.cpp | 4 ++-- src/rgw/driver/posix/notify.cpp | 4 ++-- src/rgw/rgw_iam_policy_keywords.gperf | 4 ++-- src/rgw/rgwam.py | 2 +- src/test/common/test_decode_start_v_checker.cpp | 4 ++-- src/test/objectstore/run_seed_to.sh | 2 +- src/test/pybind/test_ceph_argparse.py | 2 +- src/test/pybind/test_ceph_daemon.py | 4 ++-- src/test/pybind/test_cephfs.py | 2 +- src/test/pybind/test_rbd.py | 2 +- src/test/pybind/test_rgwfs.py | 2 +- src/test/test_c_headers.c | 4 ++-- src/tools/rbd_ggate/ggate_drv.c | 4 ++-- src/tools/scratchtool.c | 4 ++-- 62 files changed, 110 insertions(+), 110 deletions(-) diff --git a/examples/librados/hello_world_c.c b/examples/librados/hello_world_c.c index 2f91828dee889..d6f33bca53f91 100644 --- a/examples/librados/hello_world_c.c +++ b/examples/librados/hello_world_c.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/qa/standalone/scrub/osd-mapper.sh b/qa/standalone/scrub/osd-mapper.sh index bfe57eac03e9b..4bf3a5a62a65f 100755 --- a/qa/standalone/scrub/osd-mapper.sh +++ b/qa/standalone/scrub/osd-mapper.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# -*- mode:text; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -# vim: ts=8 sw=2 smarttab +# -*- mode:text; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +# vim: ts=8 sw=2 sts=2 expandtab # # test the handling of a corrupted SnapMapper DB by Scrub diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 2834cb666fe5e..1b5fa66aaadeb 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# -*- mode:shell-script; tab-width:8; sh-basic-offset:2; indent-tabs-mode:t -*- -# vim: ts=8 sw=8 ft=bash smarttab +# -*- mode:shell-script; tab-width:8; sh-basic-offset:2; indent-tabs-mode:nil -*- +# vim: ts=8 sw=8 ft=bash expandtab set -x source $(dirname $0)/../../standalone/ceph-helpers.sh diff --git a/qa/workunits/rados/ec-esb-fio.sh b/qa/workunits/rados/ec-esb-fio.sh index 32866f73166af..6fb65dcf8cb59 100755 --- a/qa/workunits/rados/ec-esb-fio.sh +++ b/qa/workunits/rados/ec-esb-fio.sh @@ -1,5 +1,5 @@ #!/bin/bash -# vim: ts=8 sw=2 smarttab +# vim: ts=8 sw=2 sts=2 expandtab set -ex # Install FIO diff --git a/qa/workunits/rados/test_large_omap_detection.py b/qa/workunits/rados/test_large_omap_detection.py index b5c81a8d86b9b..8b93f666ca189 100755 --- a/qa/workunits/rados/test_large_omap_detection.py +++ b/qa/workunits/rados/test_large_omap_detection.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 # -*- mode:python -*- -# vim: ts=4 sw=4 smarttab expandtab +# vim: ts=4 sw=4 expandtab # # Copyright (C) 2017 Red Hat # diff --git a/src/arch/s390x.c b/src/arch/s390x.c index dec654ef7d96e..f392a18c4fef3 100644 --- a/src/arch/s390x.c +++ b/src/arch/s390x.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/auth/krb/KrbAuthorizeHandler.cpp b/src/auth/krb/KrbAuthorizeHandler.cpp index 8c7523e607aed..f8bbbf73f2250 100644 --- a/src/auth/krb/KrbAuthorizeHandler.cpp +++ b/src/auth/krb/KrbAuthorizeHandler.cpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/auth/krb/KrbAuthorizeHandler.hpp b/src/auth/krb/KrbAuthorizeHandler.hpp index 448b682e68d24..7752a0be4703a 100644 --- a/src/auth/krb/KrbAuthorizeHandler.hpp +++ b/src/auth/krb/KrbAuthorizeHandler.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/auth/krb/KrbClientHandler.cpp b/src/auth/krb/KrbClientHandler.cpp index 1f728b4dd6e00..f19e9fc3f8305 100644 --- a/src/auth/krb/KrbClientHandler.cpp +++ b/src/auth/krb/KrbClientHandler.cpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/auth/krb/KrbClientHandler.hpp b/src/auth/krb/KrbClientHandler.hpp index 58e5311167a48..c36591bcb41ca 100644 --- a/src/auth/krb/KrbClientHandler.hpp +++ b/src/auth/krb/KrbClientHandler.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/auth/krb/KrbProtocol.cpp b/src/auth/krb/KrbProtocol.cpp index 6988d35566dec..9777f579e9c63 100644 --- a/src/auth/krb/KrbProtocol.cpp +++ b/src/auth/krb/KrbProtocol.cpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/auth/krb/KrbProtocol.hpp b/src/auth/krb/KrbProtocol.hpp index abddb584878b9..a1f55bd1a1e1d 100644 --- a/src/auth/krb/KrbProtocol.hpp +++ b/src/auth/krb/KrbProtocol.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/auth/krb/KrbServiceHandler.cpp b/src/auth/krb/KrbServiceHandler.cpp index c2ca3bbf28ccd..3fdd23f44cfd5 100644 --- a/src/auth/krb/KrbServiceHandler.cpp +++ b/src/auth/krb/KrbServiceHandler.cpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/auth/krb/KrbServiceHandler.hpp b/src/auth/krb/KrbServiceHandler.hpp index 85cf5a1a6e6ac..fbd96b49e1683 100644 --- a/src/auth/krb/KrbServiceHandler.hpp +++ b/src/auth/krb/KrbServiceHandler.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/auth/krb/KrbSessionHandler.hpp b/src/auth/krb/KrbSessionHandler.hpp index ee80d7909333a..4c853dba601ad 100644 --- a/src/auth/krb/KrbSessionHandler.hpp +++ b/src/auth/krb/KrbSessionHandler.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/ceph-crash.in b/src/ceph-crash.in index 0e02837fadd4d..52303c3e8a5ff 100755 --- a/src/ceph-crash.in +++ b/src/ceph-crash.in @@ -1,6 +1,6 @@ #!@Python3_EXECUTABLE@ # -*- mode:python -*- -# vim: ts=4 sw=4 smarttab expandtab +# vim: ts=4 sw=4 expandtab import argparse import grp diff --git a/src/ceph-volume/plugin/zfs/ceph_volume_zfs/devices/zfs/main.py b/src/ceph-volume/plugin/zfs/ceph_volume_zfs/devices/zfs/main.py index 073be6467dc3b..4cd9b7e21ab51 100644 --- a/src/ceph-volume/plugin/zfs/ceph_volume_zfs/devices/zfs/main.py +++ b/src/ceph-volume/plugin/zfs/ceph_volume_zfs/devices/zfs/main.py @@ -1,4 +1,4 @@ -# vim: expandtab smarttab shiftwidth=4 softtabstop=4 +# vim: expandtab shiftwidth=4 softtabstop=4 import argparse from textwrap import dedent diff --git a/src/ceph.in b/src/ceph.in index 51743dd9ae8c9..6c8a1e944ca1a 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -1,6 +1,6 @@ #!@Python3_EXECUTABLE@ # -*- mode:python -*- -# vim: ts=4 sw=4 smarttab expandtab +# vim: ts=4 sw=4 expandtab # # Processed in Makefile to add python #! line and version variable # diff --git a/src/common/addr_parsing.c b/src/common/addr_parsing.c index 0e183c667c2cd..3dd29b144b4f6 100644 --- a/src/common/addr_parsing.c +++ b/src/common/addr_parsing.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/common/bit_vector.hpp b/src/common/bit_vector.hpp index e6df71c86f44b..a4b8ae9ee7b0e 100644 --- a/src/common/bit_vector.hpp +++ b/src/common/bit_vector.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/common/bloom_filter.hpp b/src/common/bloom_filter.hpp index 8fe1e4ee5e93c..6fed500907355 100644 --- a/src/common/bloom_filter.hpp +++ b/src/common/bloom_filter.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* ******************************************************************* diff --git a/src/common/map_cacher.hpp b/src/common/map_cacher.hpp index 93bda03a25218..462ca2da4055e 100644 --- a/src/common/map_cacher.hpp +++ b/src/common/map_cacher.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/common/mime.c b/src/common/mime.c index fe45123ccc94c..843d9e5ce5e66 100644 --- a/src/common/mime.c +++ b/src/common/mime.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/common/reverse.c b/src/common/reverse.c index f65540d54face..1a2370e9dba63 100644 --- a/src/common/reverse.c +++ b/src/common/reverse.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/common/safe_io.c b/src/common/safe_io.c index 80921d0f2e43a..b8326d481b799 100644 --- a/src/common/safe_io.c +++ b/src/common/safe_io.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/common/secret.c b/src/common/secret.c index fe34efdff83b2..5ea5f1d40de93 100644 --- a/src/common/secret.c +++ b/src/common/secret.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/common/shared_cache.hpp b/src/common/shared_cache.hpp index d285e370ba580..f84f2ee3a672b 100644 --- a/src/common/shared_cache.hpp +++ b/src/common/shared_cache.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/common/sharedptr_registry.hpp b/src/common/sharedptr_registry.hpp index 8c0db6c24a702..bca8648230881 100644 --- a/src/common/sharedptr_registry.hpp +++ b/src/common/sharedptr_registry.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/common/simple_cache.hpp b/src/common/simple_cache.hpp index 07d19a731b1fc..68905c75b2a3c 100644 --- a/src/common/simple_cache.hpp +++ b/src/common/simple_cache.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/common/tracked_int_ptr.hpp b/src/common/tracked_int_ptr.hpp index fc54c4cb9d671..67f3b014086f0 100644 --- a/src/common/tracked_int_ptr.hpp +++ b/src/common/tracked_int_ptr.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/common/utf8.c b/src/common/utf8.c index 3a05789f60388..4e3240267a16e 100644 --- a/src/common/utf8.c +++ b/src/common/utf8.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/doc/header.txt b/src/doc/header.txt index bccdb81533b6f..cbe26cf04f31a 100644 --- a/src/doc/header.txt +++ b/src/doc/header.txt @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/doc/modeline.txt b/src/doc/modeline.txt index 1b3956f4d486b..ddacfb79a6b6c 100644 --- a/src/doc/modeline.txt +++ b/src/doc/modeline.txt @@ -1,2 +1,2 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab diff --git a/src/erasure-code/shec/determinant.c b/src/erasure-code/shec/determinant.c index 15b62c9efcfca..4a67ac5871e1a 100644 --- a/src/erasure-code/shec/determinant.c +++ b/src/erasure-code/shec/determinant.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/include/neorados/RADOS.hpp b/src/include/neorados/RADOS.hpp index 4b595258ca80f..f0f734cc3abc8 100644 --- a/src/include/neorados/RADOS.hpp +++ b/src/include/neorados/RADOS.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/include/neorados/RADOS_Decodable.hpp b/src/include/neorados/RADOS_Decodable.hpp index 777a2525c8e04..c5b5c7f4c6841 100644 --- a/src/include/neorados/RADOS_Decodable.hpp +++ b/src/include/neorados/RADOS_Decodable.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/include/rbd/librbd.hpp b/src/include/rbd/librbd.hpp index 0ac315a76f488..d86f4b17baeb4 100644 --- a/src/include/rbd/librbd.hpp +++ b/src/include/rbd/librbd.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/pybind/ceph_daemon.py b/src/pybind/ceph_daemon.py index 0a70e92bc93a2..b470eb1fdfac0 100644 --- a/src/pybind/ceph_daemon.py +++ b/src/pybind/ceph_daemon.py @@ -1,5 +1,5 @@ # -*- mode:python -*- -# vim: ts=4 sw=4 smarttab expandtab +# vim: ts=4 sw=4 expandtab """ Copyright (C) 2015 Red Hat diff --git a/src/pybind/ceph_mgr_repl.py b/src/pybind/ceph_mgr_repl.py index 159abdc99a5e4..68613b389ed3c 100755 --- a/src/pybind/ceph_mgr_repl.py +++ b/src/pybind/ceph_mgr_repl.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 # -*- mode:python -*- -# vim: ts=4 sw=4 smarttab expandtab +# vim: ts=4 sw=4 expandtab __all__ = ['ConsoleOptions', 'MgrModuleInterpreter'] diff --git a/src/python-common/ceph/rgw/rgwam_core.py b/src/python-common/ceph/rgw/rgwam_core.py index 9b19865bfc501..e11eb8e528a6e 100644 --- a/src/python-common/ceph/rgw/rgwam_core.py +++ b/src/python-common/ceph/rgw/rgwam_core.py @@ -1,5 +1,5 @@ # -*- mode:python -*- -# vim: ts=4 sw=4 smarttab expandtab +# vim: ts=4 sw=4 expandtab # # Processed in Makefile to add python #! line and version variable # diff --git a/src/rbd_replay/BoundedBuffer.hpp b/src/rbd_replay/BoundedBuffer.hpp index 6185d26663e17..d0b6f8f130834 100644 --- a/src/rbd_replay/BoundedBuffer.hpp +++ b/src/rbd_replay/BoundedBuffer.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab #ifndef _INCLUDED_BOUNDED_BUFFER_HPP #define _INCLUDED_BOUNDED_BUFFER_HPP diff --git a/src/rbd_replay/ImageNameMap.hpp b/src/rbd_replay/ImageNameMap.hpp index 45cdaf6869478..0b31954bbe10d 100644 --- a/src/rbd_replay/ImageNameMap.hpp +++ b/src/rbd_replay/ImageNameMap.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/rbd_replay/PendingIO.hpp b/src/rbd_replay/PendingIO.hpp index 3942d5f6fd9d9..a5d41d73593b1 100644 --- a/src/rbd_replay/PendingIO.hpp +++ b/src/rbd_replay/PendingIO.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/rbd_replay/Replayer.hpp b/src/rbd_replay/Replayer.hpp index 02bca019c7102..d42a7d0bbd9ef 100644 --- a/src/rbd_replay/Replayer.hpp +++ b/src/rbd_replay/Replayer.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/rbd_replay/actions.hpp b/src/rbd_replay/actions.hpp index 3b5dd8bd78905..e95009b7dbd76 100644 --- a/src/rbd_replay/actions.hpp +++ b/src/rbd_replay/actions.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/rbd_replay/ios.hpp b/src/rbd_replay/ios.hpp index 8a105afd2d7e4..b824461b98160 100644 --- a/src/rbd_replay/ios.hpp +++ b/src/rbd_replay/ios.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/rbd_replay/rbd_loc.hpp b/src/rbd_replay/rbd_loc.hpp index 8b7bfac1f2b6f..9cf1d0b43aa31 100644 --- a/src/rbd_replay/rbd_loc.hpp +++ b/src/rbd_replay/rbd_loc.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/rbd_replay/rbd_replay_debug.hpp b/src/rbd_replay/rbd_replay_debug.hpp index 4b44588b4b667..1e373136a5402 100644 --- a/src/rbd_replay/rbd_replay_debug.hpp +++ b/src/rbd_replay/rbd_replay_debug.hpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * diff --git a/src/rgw/driver/posix/bucket_cache.cpp b/src/rgw/driver/posix/bucket_cache.cpp index 9df08e40a137f..f9b0817b1a375 100644 --- a/src/rgw/driver/posix/bucket_cache.cpp +++ b/src/rgw/driver/posix/bucket_cache.cpp @@ -1,4 +1,4 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab ft=cpp +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab ft=cpp #include "bucket_cache.h" diff --git a/src/rgw/driver/posix/notify.cpp b/src/rgw/driver/posix/notify.cpp index 8030caa93d9ca..5aeb7d76d5627 100644 --- a/src/rgw/driver/posix/notify.cpp +++ b/src/rgw/driver/posix/notify.cpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab ft=cpp +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab ft=cpp #include "notify.h" #ifdef linux diff --git a/src/rgw/rgw_iam_policy_keywords.gperf b/src/rgw/rgw_iam_policy_keywords.gperf index d81218b9ea9fb..6151d921a4c03 100644 --- a/src/rgw/rgw_iam_policy_keywords.gperf +++ b/src/rgw/rgw_iam_policy_keywords.gperf @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab %language=C++ %compare-strncmp %define class-name keyword_hash diff --git a/src/rgw/rgwam.py b/src/rgw/rgwam.py index f07d2b423e73a..50598e2723481 100755 --- a/src/rgw/rgwam.py +++ b/src/rgw/rgwam.py @@ -1,6 +1,6 @@ #!@Python3_EXECUTABLE@ # -*- mode:python -*- -# vim: ts=4 sw=4 smarttab expandtab +# vim: ts=4 sw=4 expandtab # # Processed in Makefile to add python #! line and version variable # diff --git a/src/test/common/test_decode_start_v_checker.cpp b/src/test/common/test_decode_start_v_checker.cpp index e56ad06a76682..53c69acf14346 100644 --- a/src/test/common/test_decode_start_v_checker.cpp +++ b/src/test/common/test_decode_start_v_checker.cpp @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab ft=cpp +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab ft=cpp /* * Ceph - scalable distributed file system diff --git a/src/test/objectstore/run_seed_to.sh b/src/test/objectstore/run_seed_to.sh index 5a624a5d4530c..13aacea2bf05d 100755 --- a/src/test/objectstore/run_seed_to.sh +++ b/src/test/objectstore/run_seed_to.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# vim: ts=8 sw=2 smarttab +# vim: ts=8 sw=2 sts=2 expandtab # # run_seed_to.sh - Run ceph_test_filestore_idempotent_sequence up until an # injection point, generating a sequence of operations based on a diff --git a/src/test/pybind/test_ceph_argparse.py b/src/test/pybind/test_ceph_argparse.py index 630e6046b243d..14b61997f641d 100755 --- a/src/test/pybind/test_ceph_argparse.py +++ b/src/test/pybind/test_ceph_argparse.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- mode:python; tab-width:4; indent-tabs-mode:nil; coding:utf-8 -*- -# vim: ts=4 sw=4 smarttab expandtab fileencoding=utf-8 +# vim: ts=4 sw=4 expandtab fileencoding=utf-8 # # Ceph - scalable distributed file system # diff --git a/src/test/pybind/test_ceph_daemon.py b/src/test/pybind/test_ceph_daemon.py index df8d4c0b09b91..67eeb0def8c1f 100755 --- a/src/test/pybind/test_ceph_daemon.py +++ b/src/test/pybind/test_ceph_daemon.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# -*- mode:python; tab-width:4; indent-tabs-mode:t -*- -# vim: ts=4 sw=4 smarttab expandtab +# -*- mode:python; tab-width:4; indent-tabs-mode:nil -*- +# vim: ts=4 sw=4 expandtab # """ Copyright (C) 2015 Red Hat diff --git a/src/test/pybind/test_cephfs.py b/src/test/pybind/test_cephfs.py index 14814c1c53f42..b8ffbc6e34587 100644 --- a/src/test/pybind/test_cephfs.py +++ b/src/test/pybind/test_cephfs.py @@ -1,4 +1,4 @@ -# vim: expandtab smarttab shiftwidth=4 softtabstop=4 +# vim: expandtab shiftwidth=4 softtabstop=4 import collections collections.Callable = collections.abc.Callable from assertions import assert_raises, assert_equal, assert_not_equal, assert_greater diff --git a/src/test/pybind/test_rbd.py b/src/test/pybind/test_rbd.py index 7bfa754b0d568..1fbb5a49ca815 100644 --- a/src/test/pybind/test_rbd.py +++ b/src/test/pybind/test_rbd.py @@ -1,4 +1,4 @@ -# vim: expandtab smarttab shiftwidth=4 softtabstop=4 +# vim: expandtab shiftwidth=4 softtabstop=4 import base64 import copy import errno diff --git a/src/test/pybind/test_rgwfs.py b/src/test/pybind/test_rgwfs.py index 0e0fcce4475e5..a86176956cbbd 100644 --- a/src/test/pybind/test_rgwfs.py +++ b/src/test/pybind/test_rgwfs.py @@ -1,4 +1,4 @@ -# vim: expandtab smarttab shiftwidth=4 softtabstop=4 +# vim: expandtab shiftwidth=4 softtabstop=4 import pytest from assertions import assert_raises, assert_equal import rgw as librgwfs diff --git a/src/test/test_c_headers.c b/src/test/test_c_headers.c index fc83a82a2bcf9..b491d20ec2729 100644 --- a/src/test/test_c_headers.c +++ b/src/test/test_c_headers.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:2; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=2 sw=2 smarttab +// -*- mode:C++; tab-width:2; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=2 sw=2 sts=2 expandtab #include #include "include/cephfs/libcephfs.h" diff --git a/src/tools/rbd_ggate/ggate_drv.c b/src/tools/rbd_ggate/ggate_drv.c index 813faf34c5792..eef4373b03d6b 100644 --- a/src/tools/rbd_ggate/ggate_drv.c +++ b/src/tools/rbd_ggate/ggate_drv.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab #include #include diff --git a/src/tools/scratchtool.c b/src/tools/scratchtool.c index 70aeb6d89f0db..1613bc7494dc3 100644 --- a/src/tools/scratchtool.c +++ b/src/tools/scratchtool.c @@ -1,5 +1,5 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab /* * Ceph - scalable distributed file system * -- 2.39.5