Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OpenBMC Firmware
talos-obmc-linux
Commits
57203306
Commit
57203306
authored
15 years ago
by
Sage Weil
Browse files
Options
Download
Email Patches
Plain Diff
ceph: remove unused CEPH_MSG_{OSD,MDS}_GETMAP
Signed-off-by:
Sage Weil
<
sage@newdream.net
>
parent
8fc57da4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
fs/ceph/ceph_fs.h
fs/ceph/ceph_fs.h
+0
-2
fs/ceph/super.c
fs/ceph/super.c
+0
-2
No files found.
fs/ceph/ceph_fs.h
View file @
57203306
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
fs/ceph/super.c
View file @
57203306
...
...
@@ -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"
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment