Skip to content

Commit

Permalink
ceph: remove dead code
Browse files Browse the repository at this point in the history
Left over from mount/auth protocol changes.

Signed-off-by: Sage Weil <sage@newdream.net>
  • Loading branch information
Sage Weil committed Nov 20, 2009
1 parent 03c677e commit b19a29a
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions fs/ceph/mon_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

/*
*
*/
Expand Down

0 comments on commit b19a29a

Please sign in to comment.