ceph: remove unused CEPH_MSG_{OSD,MDS}_GETMAP

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, March 19, 2010 - 9:59 am

Gitweb:     http://git.kernel.org/linus/572033069dbc2cff8d4a2d2b34c576e1813fda70
Commit:     572033069dbc2cff8d4a2d2b34c576e1813fda70
Parent:     8fc57da4d32767cc6096ecaed24636dabefd1dbc
Author:     Sage Weil <sage@newdream.net>
AuthorDate: Fri Oct 9 21:52:34 2009 -0700
Committer:  Sage Weil <sage@newdream.net>
CommitDate: Mon Oct 12 10:29:44 2009 -0700

    ceph: remove unused CEPH_MSG_{OSD,MDS}_GETMAP
    
    Signed-off-by: Sage Weil <sage@newdream.net>
---
 fs/ceph/ceph_fs.h |    2 --
 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 b3bbab1..56af192 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);
 #define CEPH_MSG_MON_SUBSCRIBE_ACK      16
 
 /* client <-> mds */
-#define CEPH_MSG_MDS_GETMAP             20
 #define CEPH_MSG_MDS_MAP                21
 
 #define CEPH_MSG_CLIENT_SESSION         22
@@ -115,7 +114,6 @@ int ceph_file_layout_is_valid(const struct ceph_file_layout *layout);
 #define CEPH_MSG_CLIENT_CAPRELEASE      0x313
 
 /* osd */
-#define CEPH_MSG_OSD_GETMAP       40
 #define CEPH_MSG_OSD_MAP          41
 #define CEPH_MSG_OSD_OP           42
 #define CEPH_MSG_OSD_OPREPLY      43
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index b3404a3..442a990 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -231,7 +231,6 @@ const char *ceph_msg_type_name(int type)
 	case CEPH_MSG_CLIENT_MOUNT_ACK: return "client_mount_ack";
 	case CEPH_MSG_STATFS: return "statfs";
 	case CEPH_MSG_STATFS_REPLY: return "statfs_reply";
-	case CEPH_MSG_MDS_GETMAP: return "mds_getmap";
 	case CEPH_MSG_MDS_MAP: return "mds_map";
 	case CEPH_MSG_CLIENT_SESSION: return "client_session";
 	case CEPH_MSG_CLIENT_RECONNECT: return "client_reconnect";
@@ -242,7 +241,6 @@ const char *ceph_msg_type_name(int type)
 	case CEPH_MSG_CLIENT_CAPRELEASE: return "client_cap_release";
 	case CEPH_MSG_CLIENT_SNAP: return "client_snap";
 	case CEPH_MSG_CLIENT_LEASE: return "client_lease";
-	case CEPH_MSG_OSD_GETMAP: return "osd_getmap";
 	case CEPH_MSG_OSD_MAP: return "osd_map";
 	case CEPH_MSG_OSD_OP: return "osd_op";
 	case CEPH_MSG_OSD_OPREPLY: return "osd_opreply";
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ceph: remove unused CEPH_MSG_{OSD,MDS}_GETMAP, Linux Kernel Mailing ..., (Fri Mar 19, 9:59 am)