]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libceph: always preallocate mon connection
authorSage Weil <sage@newdream.net>
Tue, 9 Aug 2011 16:27:44 +0000 (09:27 -0700)
committerSage Weil <sage@newdream.net>
Tue, 9 Aug 2011 22:27:04 +0000 (15:27 -0700)
commit75f498efa3e77a26cbee53fcc801f0f859ae2368
treee001b2600d9300f1260f10c23c45b070c375b724
parent13cd20caa35d810e81fd86ce411ebe78d48147f3
libceph: always preallocate mon connection

Allocate the mon connection on init.  We already reuse it across
reconnects.  Remove now unnecessary (and incomplete) NULL checks.

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