diff options
author | Sage Weil <sage@newdream.net> | 2009-10-10 00:52:34 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-10-12 13:29:44 -0400 |
commit | 572033069dbc2cff8d4a2d2b34c576e1813fda70 (patch) | |
tree | 7fa9bc74fe1025108cc91715285af8e14aa6f883 /fs/ceph | |
parent | 8fc57da4d32767cc6096ecaed24636dabefd1dbc (diff) |
ceph: remove unused CEPH_MSG_{OSD,MDS}_GETMAP
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/ceph_fs.h | 2 | ||||
-rw-r--r-- | fs/ceph/super.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/fs/ceph/ceph_fs.h b/fs/ceph/ceph_fs.h index b3bbab1952c9..56af192cb430 100644 --- a/fs/ceph/ceph_fs.h +++ b/fs/ceph/ceph_fs.h | |||
@@ -100,7 +100,6 @@ int ceph_file_layout_is_valid(const struct ceph_file_layout *layout); | |||
100 | #define CEPH_MSG_MON_SUBSCRIBE_ACK 16 | 100 | #define CEPH_MSG_MON_SUBSCRIBE_ACK 16 |
101 | 101 | ||
102 | /* client <-> mds */ | 102 | /* client <-> mds */ |
103 | #define CEPH_MSG_MDS_GETMAP 20 | ||
104 | #define CEPH_MSG_MDS_MAP 21 | 103 | #define CEPH_MSG_MDS_MAP 21 |
105 | 104 | ||
106 | #define CEPH_MSG_CLIENT_SESSION 22 | 105 | #define CEPH_MSG_CLIENT_SESSION 22 |
@@ -115,7 +114,6 @@ int ceph_file_layout_is_valid(const struct ceph_file_layout *layout); | |||
115 | #define CEPH_MSG_CLIENT_CAPRELEASE 0x313 | 114 | #define CEPH_MSG_CLIENT_CAPRELEASE 0x313 |
116 | 115 | ||
117 | /* osd */ | 116 | /* osd */ |
118 | #define CEPH_MSG_OSD_GETMAP 40 | ||
119 | #define CEPH_MSG_OSD_MAP 41 | 117 | #define CEPH_MSG_OSD_MAP 41 |
120 | #define CEPH_MSG_OSD_OP 42 | 118 | #define CEPH_MSG_OSD_OP 42 |
121 | #define CEPH_MSG_OSD_OPREPLY 43 | 119 | #define CEPH_MSG_OSD_OPREPLY 43 |
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index b3404a319c22..442a9900317e 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c | |||
@@ -231,7 +231,6 @@ const char *ceph_msg_type_name(int type) | |||
231 | case CEPH_MSG_CLIENT_MOUNT_ACK: return "client_mount_ack"; | 231 | case CEPH_MSG_CLIENT_MOUNT_ACK: return "client_mount_ack"; |
232 | case CEPH_MSG_STATFS: return "statfs"; | 232 | case CEPH_MSG_STATFS: return "statfs"; |
233 | case CEPH_MSG_STATFS_REPLY: return "statfs_reply"; | 233 | case CEPH_MSG_STATFS_REPLY: return "statfs_reply"; |
234 | case CEPH_MSG_MDS_GETMAP: return "mds_getmap"; | ||
235 | case CEPH_MSG_MDS_MAP: return "mds_map"; | 234 | case CEPH_MSG_MDS_MAP: return "mds_map"; |
236 | case CEPH_MSG_CLIENT_SESSION: return "client_session"; | 235 | case CEPH_MSG_CLIENT_SESSION: return "client_session"; |
237 | case CEPH_MSG_CLIENT_RECONNECT: return "client_reconnect"; | 236 | case CEPH_MSG_CLIENT_RECONNECT: return "client_reconnect"; |
@@ -242,7 +241,6 @@ const char *ceph_msg_type_name(int type) | |||
242 | case CEPH_MSG_CLIENT_CAPRELEASE: return "client_cap_release"; | 241 | case CEPH_MSG_CLIENT_CAPRELEASE: return "client_cap_release"; |
243 | case CEPH_MSG_CLIENT_SNAP: return "client_snap"; | 242 | case CEPH_MSG_CLIENT_SNAP: return "client_snap"; |
244 | case CEPH_MSG_CLIENT_LEASE: return "client_lease"; | 243 | case CEPH_MSG_CLIENT_LEASE: return "client_lease"; |
245 | case CEPH_MSG_OSD_GETMAP: return "osd_getmap"; | ||
246 | case CEPH_MSG_OSD_MAP: return "osd_map"; | 244 | case CEPH_MSG_OSD_MAP: return "osd_map"; |
247 | case CEPH_MSG_OSD_OP: return "osd_op"; | 245 | case CEPH_MSG_OSD_OP: return "osd_op"; |
248 | case CEPH_MSG_OSD_OPREPLY: return "osd_opreply"; | 246 | case CEPH_MSG_OSD_OPREPLY: return "osd_opreply"; |