]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libceph: fully initialize connection in con_init()
authorAlex Elder <elder@inktank.com>
Sun, 27 May 2012 04:26:43 +0000 (23:26 -0500)
committerAlex Elder <elder@dreamhost.com>
Wed, 6 Jun 2012 14:23:54 +0000 (09:23 -0500)
commit1bfd89f4e6e1adc6a782d94aa5d4c53be1e404d7
tree32bbe82e2817619bf16516d8531a2e5b79e2528c
parent20581c1faf7b15ae1f8b80c0ec757877b0b53151
libceph: fully initialize connection in con_init()

Move the initialization of a ceph connection's private pointer,
operations vector pointer, and peer name information into
ceph_con_init().  Rearrange the arguments so the connection pointer
is first.  Hide the byte-swapping of the peer entity number inside
ceph_con_init()

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/mds_client.c
include/linux/ceph/messenger.h
net/ceph/messenger.c
net/ceph/mon_client.c
net/ceph/osd_client.c