summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-07-19 16:11:28 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-19 16:11:28 -0700
commit85efc72a0218335324d358ac479a04c16316fd4d (patch)
treed3299ad27ca32e7aa73e4850c8ac58aae7c97434 /include
parent3e4b9459fb0e149c6b74c9e89399a8fc39a92b44 (diff)
parent6a3ca4f18873f950895cb64ddefafb51a732e3f7 (diff)
downloadlinux-3.10-85efc72a0218335324d358ac479a04c16316fd4d.tar.gz
linux-3.10-85efc72a0218335324d358ac479a04c16316fd4d.tar.bz2
linux-3.10-85efc72a0218335324d358ac479a04c16316fd4d.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client
Pull last minute Ceph fixes from Sage Weil: "The important one fixes a bug in the socket failure handling behavior that was turned up in some recent failure injection testing. The other two are minor bug fixes." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client: rbd: endian bug in rbd_req_cb() rbd: Fix ceph_snap_context size calculation libceph: fix messenger retry
Diffstat (limited to 'include')
-rw-r--r--include/linux/ceph/messenger.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h
index 2521a95fa6d..44c87e731e9 100644
--- a/include/linux/ceph/messenger.h
+++ b/include/linux/ceph/messenger.h
@@ -163,16 +163,8 @@ struct ceph_connection {
/* connection negotiation temps */
char in_banner[CEPH_BANNER_MAX_LEN];
- union {
- struct { /* outgoing connection */
- struct ceph_msg_connect out_connect;
- struct ceph_msg_connect_reply in_reply;
- };
- struct { /* incoming */
- struct ceph_msg_connect in_connect;
- struct ceph_msg_connect_reply out_reply;
- };
- };
+ struct ceph_msg_connect out_connect;
+ struct ceph_msg_connect_reply in_reply;
struct ceph_entity_addr actual_peer_addr;
/* message out temps */