mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
ceph: fix straggler header ifdef guards
This commit is contained in:
parent
f4b9d9d847
commit
4d66a72a5a
@ -12,8 +12,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __EBOFS_CSUM_H
|
||||
#define __EBOFS_CSUM_H
|
||||
#ifndef CEPH_EBOFS_CSUM_H
|
||||
#define CEPH_EBOFS_CSUM_H
|
||||
|
||||
typedef uint64_t csum_t;
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __CEPH_ATOMIC_H
|
||||
#define __CEPH_ATOMIC_H
|
||||
#ifndef CEPH_ATOMIC_H
|
||||
#define CEPH_ATOMIC_H
|
||||
|
||||
#ifdef __CEPH__
|
||||
# include "acconfig.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef CEPH_FRAG_H
|
||||
#define CEPH_FRAG_H
|
||||
#ifndef FS_CEPH_FRAG_H
|
||||
#define FS_CEPH_FRAG_H
|
||||
|
||||
/*
|
||||
* "Frags" are a way to describe a subset of a 32-bit number space,
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef CEPH_HASH_H
|
||||
#define CEPH_HASH_H
|
||||
#ifndef FS_CEPH_HASH_H
|
||||
#define FS_CEPH_HASH_H
|
||||
|
||||
#define CEPH_STR_HASH_LINUX 0x1 /* linux dcache hash */
|
||||
#define CEPH_STR_HASH_RJENKINS 0x2 /* robert jenkins' */
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef _CEPH_INTTYPES_H
|
||||
#define _CEPH_INTTYPES_H
|
||||
#ifndef CEPH_INTTYPES_H
|
||||
#define CEPH_INTTYPES_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <linux/types.h>
|
||||
|
@ -10,8 +10,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _FS_CEPH_RBD
|
||||
#define _FS_CEPH_RBD
|
||||
#ifndef CEPH_RBD_TYPES_H
|
||||
#define CEPH_RBD_TYPES_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __CEPH_TYPES_H
|
||||
#define __CEPH_TYPES_H
|
||||
#ifndef CEPH_TYPES_H
|
||||
#define CEPH_TYPES_H
|
||||
|
||||
// this is needed for ceph_fs to compile in userland
|
||||
#include "inttypes.h"
|
||||
|
@ -12,8 +12,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __UTIME_H
|
||||
#define __UTIME_H
|
||||
#ifndef CEPH_UTIME_H
|
||||
#define CEPH_UTIME_H
|
||||
|
||||
#include <math.h>
|
||||
#include <sys/time.h>
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
|
||||
print_all() {
|
||||
echo "#ifndef __CEPH_VERSION_H"
|
||||
echo "#define __CEPH_VERSION_H"
|
||||
echo "#ifndef CEPH_VERSION_H"
|
||||
echo "#define CEPH_VERSION_H"
|
||||
echo
|
||||
echo "#define CEPH_GIT_VER `git rev-parse HEAD 2>/dev/null`"
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user