From: Edwin Rodriguez Date: Wed, 1 Oct 2025 13:09:52 +0000 (-0400) Subject: Update indent settings remainder X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e376f67e2f561e12dc77a08efdd54574b7f090dc;p=ceph.git Update indent settings remainder Fixes: https://tracker.ceph.com/issues/72587 Signed-off-by: Edwin Rodriguez --- diff --git a/examples/librados/hello_world_c.c b/examples/librados/hello_world_c.c index 2f91828dee88..d6f33bca53f9 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 bfe57eac03e9..4bf3a5a62a65 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 2834cb666fe5..1b5fa66aaade 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 32866f73166a..6fb65dcf8cb5 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 b5c81a8d86b9..8b93f666ca18 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 dec654ef7d96..f392a18c4fef 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 8c7523e607ae..f8bbbf73f225 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 448b682e68d2..7752a0be4703 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 1f728b4dd6e0..f19e9fc3f830 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 58e5311167a4..c36591bcb41c 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 6988d35566de..9777f579e9c6 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 abddb584878b..a1f55bd1a1e1 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 c2ca3bbf28cc..3fdd23f44cfd 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 85cf5a1a6e6a..fbd96b49e168 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 ee80d7909333..4c853dba601a 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 0e02837fadd4..52303c3e8a5f 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 073be6467dc3..4cd9b7e21ab5 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 51743dd9ae8c..6c8a1e944ca1 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 0e183c667c2c..3dd29b144b4f 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 e6df71c86f44..a4b8ae9ee7b0 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 8fe1e4ee5e93..6fed50090735 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 93bda03a2521..462ca2da4055 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 fe45123ccc94..843d9e5ce5e6 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 f65540d54fac..1a2370e9dba6 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 80921d0f2e43..b8326d481b79 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 fe34efdff83b..5ea5f1d40de9 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 d285e370ba58..f84f2ee3a672 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 8c0db6c24a70..bca864823088 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 07d19a731b1f..68905c75b2a3 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 fc54c4cb9d67..67f3b014086f 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 3a05789f6038..4e3240267a16 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 bccdb81533b6..cbe26cf04f31 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 1b3956f4d486..ddacfb79a6b6 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 15b62c9efcfc..4a67ac5871e1 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 4b595258ca80..f0f734cc3abc 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 777a2525c8e0..c5b5c7f4c684 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 0ac315a76f48..d86f4b17baeb 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 0a70e92bc93a..b470eb1fdfac 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 159abdc99a5e..68613b389ed3 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 9b19865bfc50..e11eb8e528a6 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 6185d26663e1..d0b6f8f13083 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 45cdaf686947..0b31954bbe10 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 3942d5f6fd9d..a5d41d73593b 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 02bca019c710..d42a7d0bbd9e 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 3b5dd8bd7890..e95009b7dbd7 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 8a105afd2d7e..b824461b9816 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 8b7bfac1f2b6..9cf1d0b43aa3 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 4b44588b4b66..1e373136a540 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 9df08e40a137..f9b0817b1a37 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 8030caa93d9c..5aeb7d76d562 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 d81218b9ea9f..6151d921a4c0 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 f07d2b423e73..50598e272348 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 e56ad06a7668..53c69acf1434 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 5a624a5d4530..13aacea2bf05 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 630e6046b243..14b61997f641 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 df8d4c0b09b9..67eeb0def8c1 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 14814c1c53f4..b8ffbc6e3458 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 7bfa754b0d56..1fbb5a49ca81 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 0e0fcce4475e..a86176956cbb 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 fc83a82a2bcf..b491d20ec272 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 813faf34c579..eef4373b03d6 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 70aeb6d89f0d..1613bc7494dc 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 *