]> git.karo-electronics.de Git - linux-beck.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, 25 Oct 2011 23:10:15 +0000 (16:10 -0700)
commitf6a2f5be07463ef532b9f4e3cb9e42ab9df85832
tree2e0bc35d64631705fffded5f93f9345ff0f0587f
parent6ab00d465a1c8c02c2216f8220727282f3aa50b5
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