]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
auth: move CEPH_AUTH_UID_DEFAULT into ceph_fs.h
authorGreg Farnum <gregf@hq.newdream.net>
Sat, 6 Mar 2010 00:47:26 +0000 (16:47 -0800)
committerGreg Farnum <gregf@hq.newdream.net>
Sat, 6 Mar 2010 00:47:26 +0000 (16:47 -0800)
src/auth/Auth.h
src/include/ceph_fs.h
src/osd/OSDCaps.h

index 894ac929f138e404ec9a5f581d208e00793c4e39..638ed350a61726c39723e56fda5f917cce296046 100644 (file)
@@ -22,8 +22,6 @@
 
 #include <errno.h>
 
-#define CEPH_AUTH_UID_DEFAULT (__u64) -1
-
 class Cond;
 
 struct EntityName {
index 0f46195934c34ae6d4dc310f6c7582c12c67e690..0ae4745b24b609d3dee1c1ab31220183914413df 100644 (file)
@@ -99,6 +99,8 @@ int ceph_file_layout_is_valid(const struct ceph_file_layout *layout);
 #define CEPH_AUTH_NONE         0x1
 #define CEPH_AUTH_CEPHX                0x2
 
+#define CEPH_AUTH_UID_DEFAULT (__u64) -1
+
 
 /*********************************************
  * message layer
index d4ffcfd652fee859332ffb4757e0a92dd085fa55..25b226c5b4606461db53891363b9ca41ae966cd5 100644 (file)
@@ -23,9 +23,6 @@
 
 #define OSD_POOL_CAP_ALL (OSD_POOL_CAP_R | OSD_POOL_CAP_W | OSD_POOL_CAP_X)
 
-//this needs to match Auth.h
-#define CEPH_AUTH_UID_DEFAULT (__u64) -1
-
 typedef __u8 rwx_t;
 
 static inline ostream& operator<<(ostream& out, rwx_t p) {