summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mon_client.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-11-20 23:44:18 +0100
committerSage Weil <sage@newdream.net>2009-11-21 00:17:24 +0100
commitb19a29af74c09553b9fef95cdf6e9af3df65f544 (patch)
treef0ef8a046f3d2b79fa28cc9dada9a14501221a15 /fs/ceph/mon_client.c
parentceph: reset msgr backoff during open, not after successful handshake (diff)
downloadlinux-b19a29af74c09553b9fef95cdf6e9af3df65f544.tar.xz
linux-b19a29af74c09553b9fef95cdf6e9af3df65f544.zip
ceph: remove dead code
Left over from mount/auth protocol changes. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mon_client.c')
-rw-r--r--fs/ceph/mon_client.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/fs/ceph/mon_client.c b/fs/ceph/mon_client.c
index b742b3b3e0f3..9ff2da69d33a 100644
--- a/fs/ceph/mon_client.c
+++ b/fs/ceph/mon_client.c
@@ -278,27 +278,6 @@ void ceph_monc_request_next_osdmap(struct ceph_mon_client *monc)
mutex_unlock(&monc->mutex);
}
-#if 0
-/*
- * mount
- */
-static void __request_mount(struct ceph_mon_client *monc)
-{
- struct ceph_msg *msg;
- struct ceph_client_mount *h;
-
- dout("__request_mount\n");
- msg = ceph_msg_new(CEPH_MSG_CLIENT_MOUNT, sizeof(*h), 0, 0, NULL);
- if (IS_ERR(msg))
- return;
- h = msg->front.iov_base;
- h->monhdr.have_version = 0;
- h->monhdr.session_mon = cpu_to_le16(-1);
- h->monhdr.session_mon_tid = 0;
- ceph_con_send(monc->con, msg);
-}
-#endif
-
/*
*
*/