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>
Showing
- fs/ceph/mds_client.c 2 additions, 5 deletionsfs/ceph/mds_client.c
- include/linux/ceph/messenger.h 4 additions, 2 deletionsinclude/linux/ceph/messenger.h
- net/ceph/messenger.c 8 additions, 1 deletionnet/ceph/messenger.c
- net/ceph/mon_client.c 3 additions, 5 deletionsnet/ceph/mon_client.c
- net/ceph/osd_client.c 2 additions, 5 deletionsnet/ceph/osd_client.c
Loading
Please register or sign in to comment