From d1d74941318a4e5e27843d698f3033188fa8f32d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 20 Nov 2009 14:44:18 -0800 Subject: [PATCH] --- yaml --- r: 188631 b: refs/heads/master c: b19a29af74c09553b9fef95cdf6e9af3df65f544 h: refs/heads/master i: 188629: bb8fd52c5a068f269e3e7b5161b7ebddbd6d54b7 188627: 9c552a8b4c262011c442c0f4e436cf0de27efecd 188623: b977ebccef74a828db19026cba179756882ca91b v: v3 --- [refs] | 2 +- trunk/fs/ceph/mon_client.c | 21 --------------------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/[refs] b/[refs] index e851b4f4db71..f84f66732e8d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 03c677e1d189ff62891d9f278c55bb798a418b81 +refs/heads/master: b19a29af74c09553b9fef95cdf6e9af3df65f544 diff --git a/trunk/fs/ceph/mon_client.c b/trunk/fs/ceph/mon_client.c index b742b3b3e0f3..9ff2da69d33a 100644 --- a/trunk/fs/ceph/mon_client.c +++ b/trunk/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 - /* * */