libceph: initialize mon_client con only once
authorSage Weil <sage@inktank.com>
Wed, 27 Jun 2012 19:24:34 +0000 (12:24 -0700)
committerSage Weil <sage@inktank.com>
Fri, 6 Jul 2012 04:14:38 +0000 (21:14 -0700)
Do not re-initialize the con on every connection attempt.  When we
ceph_con_close, there may still be work queued on the socket (e.g., to
close it), and re-initializing will clobber the work_struct state.

Signed-off-by: Sage Weil <sage@inktank.com>

No differences found