Skip to content

Commit

Permalink
ceph: clean up header guards
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <sage@newdream.net>
  • Loading branch information
Sage Weil committed Aug 2, 2010
1 parent 9688f19 commit 5cd068c
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions fs/ceph/ceph_frag.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _FS_CEPH_FRAG_H
#define _FS_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,
Expand Down
4 changes: 2 additions & 2 deletions fs/ceph/ceph_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* LGPL2
*/

#ifndef _FS_CEPH_CEPH_FS_H
#define _FS_CEPH_CEPH_FS_H
#ifndef CEPH_FS_H
#define CEPH_FS_H

#include "msgr.h"
#include "rados.h"
Expand Down
4 changes: 2 additions & 2 deletions fs/ceph/ceph_hash.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _FS_CEPH_HASH_H
#define _FS_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' */
Expand Down
4 changes: 2 additions & 2 deletions fs/ceph/crush/crush.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _CRUSH_CRUSH_H
#define _CRUSH_CRUSH_H
#ifndef CEPH_CRUSH_CRUSH_H
#define CEPH_CRUSH_CRUSH_H

#include <linux/types.h>

Expand Down
4 changes: 2 additions & 2 deletions fs/ceph/crush/hash.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _CRUSH_HASH_H
#define _CRUSH_HASH_H
#ifndef CEPH_CRUSH_HASH_H
#define CEPH_CRUSH_HASH_H

#define CRUSH_HASH_RJENKINS1 0

Expand Down
4 changes: 2 additions & 2 deletions fs/ceph/crush/mapper.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _CRUSH_MAPPER_H
#define _CRUSH_MAPPER_H
#ifndef CEPH_CRUSH_MAPPER_H
#define CEPH_CRUSH_MAPPER_H

/*
* CRUSH functions for find rules and then mapping an input to an
Expand Down
4 changes: 2 additions & 2 deletions fs/ceph/msgr.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __MSGR_H
#define __MSGR_H
#ifndef CEPH_MSGR_H
#define CEPH_MSGR_H

/*
* Data types for message passing layer used by Ceph.
Expand Down
4 changes: 2 additions & 2 deletions fs/ceph/rados.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __RADOS_H
#define __RADOS_H
#ifndef CEPH_RADOS_H
#define CEPH_RADOS_H

/*
* Data types for the Ceph distributed object storage layer RADOS
Expand Down

0 comments on commit 5cd068c

Please sign in to comment.