diff options
author | Sage Weil <sage@newdream.net> | 2009-11-20 17:44:18 -0500 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-11-20 18:17:24 -0500 |
commit | b19a29af74c09553b9fef95cdf6e9af3df65f544 (patch) | |
tree | f0ef8a046f3d2b79fa28cc9dada9a14501221a15 /fs/ceph/mon_client.c | |
parent | 03c677e1d189ff62891d9f278c55bb798a418b81 (diff) |
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.c | 21 |
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) | |||
278 | mutex_unlock(&monc->mutex); | 278 | mutex_unlock(&monc->mutex); |
279 | } | 279 | } |
280 | 280 | ||
281 | #if 0 | ||
282 | /* | ||
283 | * mount | ||
284 | */ | ||
285 | static void __request_mount(struct ceph_mon_client *monc) | ||
286 | { | ||
287 | struct ceph_msg *msg; | ||
288 | struct ceph_client_mount *h; | ||
289 | |||
290 | dout("__request_mount\n"); | ||
291 | msg = ceph_msg_new(CEPH_MSG_CLIENT_MOUNT, sizeof(*h), 0, 0, NULL); | ||
292 | if (IS_ERR(msg)) | ||
293 | return; | ||
294 | h = msg->front.iov_base; | ||
295 | h->monhdr.have_version = 0; | ||
296 | h->monhdr.session_mon = cpu_to_le16(-1); | ||
297 | h->monhdr.session_mon_tid = 0; | ||
298 | ceph_con_send(monc->con, msg); | ||
299 | } | ||
300 | #endif | ||
301 | |||
302 | /* | 281 | /* |
303 | * | 282 | * |
304 | */ | 283 | */ |