Merge pull request #65743 from edwinzrodriguez/ceph-clang-format-remainder

Update misc file tab settings, based on the discussions in this PR
and https://github.com/ceph/ceph/pull/65049

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
This commit is contained in:
Gregory Farnum 2025-10-08 16:17:59 -07:00 committed by GitHub
commit e36968f5b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
62 changed files with 153 additions and 110 deletions

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# -*- mode:text; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- # -*- mode:text; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
# vim: ts=8 sw=2 smarttab # vim: ts=8 sw=2 sts=2 expandtab
# #
# test the handling of a corrupted SnapMapper DB by Scrub # test the handling of a corrupted SnapMapper DB by Scrub

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# -*- mode:shell-script; tab-width:8; sh-basic-offset:2; indent-tabs-mode:t -*- # -*- mode:shell-script; tab-width:8; sh-basic-offset:2; indent-tabs-mode:nil -*-
# vim: ts=8 sw=8 ft=bash smarttab # vim: ts=8 sw=8 ft=bash expandtab
set -x set -x
source $(dirname $0)/../../standalone/ceph-helpers.sh source $(dirname $0)/../../standalone/ceph-helpers.sh

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# vim: ts=8 sw=2 smarttab # vim: ts=8 sw=2 sts=2 expandtab
set -ex set -ex
# Install FIO # Install FIO

View File

@ -1,6 +1,6 @@
#!/usr/bin/python3 #!/usr/bin/python3
# -*- mode:python -*- # -*- mode:python -*-
# vim: ts=4 sw=4 smarttab expandtab # vim: ts=4 sw=4 expandtab
# #
# Copyright (C) 2017 Red Hat <contact@redhat.com> # Copyright (C) 2017 Red Hat <contact@redhat.com>
# #

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,6 +1,6 @@
#!@Python3_EXECUTABLE@ #!@Python3_EXECUTABLE@
# -*- mode:python -*- # -*- mode:python -*-
# vim: ts=4 sw=4 smarttab expandtab # vim: ts=4 sw=4 expandtab
import argparse import argparse
import grp import grp

View File

@ -1,4 +1,4 @@
# vim: expandtab smarttab shiftwidth=4 softtabstop=4 # vim: expandtab shiftwidth=4 softtabstop=4
import argparse import argparse
from textwrap import dedent from textwrap import dedent

View File

@ -1,6 +1,6 @@
#!@Python3_EXECUTABLE@ #!@Python3_EXECUTABLE@
# -*- mode:python -*- # -*- 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 # Processed in Makefile to add python #! line and version variable
# #

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
******************************************************************* *******************************************************************

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,2 +1,3 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,5 @@
# -*- mode:python -*- # -*- mode:python -*-
# vim: ts=4 sw=4 smarttab expandtab # vim: ts=4 sw=4 expandtab
""" """
Copyright (C) 2015 Red Hat Copyright (C) 2015 Red Hat

View File

@ -1,6 +1,6 @@
#!/usr/bin/python3 #!/usr/bin/python3
# -*- mode:python -*- # -*- mode:python -*-
# vim: ts=4 sw=4 smarttab expandtab # vim: ts=4 sw=4 expandtab
__all__ = ['ConsoleOptions', 'MgrModuleInterpreter'] __all__ = ['ConsoleOptions', 'MgrModuleInterpreter']

View File

@ -1,5 +1,5 @@
# -*- mode:python -*- # -*- 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 # Processed in Makefile to add python #! line and version variable
# #

View File

@ -1,5 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
#ifndef _INCLUDED_BOUNDED_BUFFER_HPP #ifndef _INCLUDED_BOUNDED_BUFFER_HPP
#define _INCLUDED_BOUNDED_BUFFER_HPP #define _INCLUDED_BOUNDED_BUFFER_HPP

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *

View File

@ -1,4 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab ft=cpp // vim: ts=8 sw=2 sts=2 expandtab ft=cpp
#include "bucket_cache.h" #include "bucket_cache.h"

View File

@ -1,5 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab ft=cpp // vim: ts=8 sw=2 sts=2 expandtab ft=cpp
#include "notify.h" #include "notify.h"
#ifdef linux #ifdef linux

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
%language=C++ %language=C++
%compare-strncmp %compare-strncmp
%define class-name keyword_hash %define class-name keyword_hash

View File

@ -1,6 +1,6 @@
#!@Python3_EXECUTABLE@ #!@Python3_EXECUTABLE@
# -*- mode:python -*- # -*- 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 # Processed in Makefile to add python #! line and version variable
# #

View File

@ -1,5 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab ft=cpp // vim: ts=8 sw=2 sts=2 expandtab ft=cpp
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/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 # run_seed_to.sh - Run ceph_test_filestore_idempotent_sequence up until an
# injection point, generating a sequence of operations based on a # injection point, generating a sequence of operations based on a

View File

@ -1,6 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- mode:python; tab-width:4; indent-tabs-mode:nil; coding:utf-8 -*- # -*- 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 # Ceph - scalable distributed file system
# #

View File

@ -1,6 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- mode:python; tab-width:4; indent-tabs-mode:t -*- # -*- mode:python; tab-width:4; indent-tabs-mode:nil -*-
# vim: ts=4 sw=4 smarttab expandtab # vim: ts=4 sw=4 expandtab
# #
""" """
Copyright (C) 2015 Red Hat Copyright (C) 2015 Red Hat

View File

@ -1,4 +1,4 @@
# vim: expandtab smarttab shiftwidth=4 softtabstop=4 # vim: expandtab shiftwidth=4 softtabstop=4
import collections import collections
collections.Callable = collections.abc.Callable collections.Callable = collections.abc.Callable
from assertions import assert_raises, assert_equal, assert_not_equal, assert_greater from assertions import assert_raises, assert_equal, assert_not_equal, assert_greater

View File

@ -1,4 +1,4 @@
# vim: expandtab smarttab shiftwidth=4 softtabstop=4 # vim: expandtab shiftwidth=4 softtabstop=4
import base64 import base64
import copy import copy
import errno import errno

View File

@ -1,4 +1,4 @@
# vim: expandtab smarttab shiftwidth=4 softtabstop=4 # vim: expandtab shiftwidth=4 softtabstop=4
import pytest import pytest
from assertions import assert_raises, assert_equal from assertions import assert_raises, assert_equal
import rgw as librgwfs import rgw as librgwfs

View File

@ -1,5 +1,5 @@
// -*- mode:C++; tab-width:2; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:2; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=2 sw=2 smarttab // vim: ts=2 sw=2 sts=2 expandtab
#include <stdlib.h> #include <stdlib.h>
#include "include/cephfs/libcephfs.h" #include "include/cephfs/libcephfs.h"

View File

@ -1,5 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
#include <sys/param.h> #include <sys/param.h>
#include <sys/bio.h> #include <sys/bio.h>

View File

@ -1,5 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab // vim: ts=8 sw=2 sts=2 expandtab
/* /*
* Ceph - scalable distributed file system * Ceph - scalable distributed file system
* *