*
*/
-#ifndef __EBOFS_CSUM_H
-#define __EBOFS_CSUM_H
+#ifndef CEPH_EBOFS_CSUM_H
+#define CEPH_EBOFS_CSUM_H
typedef uint64_t csum_t;
*
*/
-#ifndef __CEPH_ATOMIC_H
-#define __CEPH_ATOMIC_H
+#ifndef CEPH_ATOMIC_H
+#define CEPH_ATOMIC_H
#ifdef __CEPH__
# include "acconfig.h"
-#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,
-#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' */
-#ifndef _CEPH_INTTYPES_H
-#define _CEPH_INTTYPES_H
+#ifndef CEPH_INTTYPES_H
+#define CEPH_INTTYPES_H
#include <stdint.h>
#include <linux/types.h>
*
*/
-#ifndef _FS_CEPH_RBD
-#define _FS_CEPH_RBD
+#ifndef CEPH_RBD_TYPES_H
+#define CEPH_RBD_TYPES_H
#include <linux/types.h>
*
*/
-#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"
*
*/
-#ifndef __UTIME_H
-#define __UTIME_H
+#ifndef CEPH_UTIME_H
+#define CEPH_UTIME_H
#include <math.h>
#include <sys/time.h>
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