ceph: clean up send_mds_reconnect interface
authorSage Weil <sage@newdream.net>
Mon, 10 May 2010 23:31:25 +0000 (16:31 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:35 +0000 (15:25 -0700)
commit34b6c855fafc54ef130649809cd580f98e3f8416
treee66408bc69b59a8a096feeadda16984c3da563e4
parent29790f26ab3e63b2a083f0811b80e2f086e4fcb2
ceph: clean up send_mds_reconnect interface

Pass a ceph_mds_session, since the caller has it.

Remove the dead code for sending empty reconnects.  It used to be used
when the MDS contacted _us_ to solicit a reconnect, and we could reply
saying "go away, I have no session."  Now we only send reconnects based
on the mds map, and only when we do in fact have an open session.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/mds_client.c