]> git.karo-electronics.de Git - linux-beck.git/commit
libceph: make ceph_tcp_connect() return int
authorAlex Elder <elder@dreamhost.com>
Tue, 14 Feb 2012 20:05:33 +0000 (14:05 -0600)
committerAlex Elder <elder@dreamhost.com>
Thu, 22 Mar 2012 15:47:51 +0000 (10:47 -0500)
commit41617d0c9c9832e030667277ddf6b4ffb4ecdc90
tree6f943ada9195e794d84506b818ad3d8f0b9a49b9
parent6173d1f02fb19c0fba02857ae4e1109b5ec95034
libceph: make ceph_tcp_connect() return int

There is no real need for ceph_tcp_connect() to return the socket
pointer it creates, since it already assigns it to con->sock, which
is visible to the caller.  Instead, have it return an error code,
which tidies things up a bit.

Signed-off-by: Alex Elder <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
net/ceph/messenger.c