From: Sage Weil Date: Fri, 20 Nov 2009 22:44:18 +0000 (-0800) Subject: ceph: remove dead code X-Git-Tag: upstream/snapshot3+hdmi~15033^2~115 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b19a29af74c09553b9fef95cdf6e9af3df65f544;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ceph: remove dead code Left over from mount/auth protocol changes. Signed-off-by: Sage Weil --- diff --git a/fs/ceph/mon_client.c b/fs/ceph/mon_client.c index b742b3b..9ff2da6 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 - /* * */