libceph: set peer name on con_open, not init
authorSage Weil <sage@inktank.com>
Wed, 27 Jun 2012 19:24:08 +0000 (12:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:37 +0000 (11:38 -0800)
commit638ba1765d03bdc3a972bfca69fd0a4a4eda717c
tree75da2d47d2997f1a2800dbc7bea2f4d5520f47bf
parentdb90f992eb77188ce3e2b95d36f99ba194e04e66
libceph: set peer name on con_open, not init

(cherry picked from commit b7a9e5dd40f17a48a72f249b8bbc989b63bae5fd)

The peer name may change on each open attempt, even when the connection is
reused.

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/mds_client.c
include/linux/ceph/messenger.h
net/ceph/messenger.c
net/ceph/mon_client.c
net/ceph/osd_client.c