summaryrefslogtreecommitdiff
path: root/fs/ceph/msgr.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-11-03 23:17:56 (GMT)
committerSage Weil <sage@newdream.net>2009-11-03 23:17:56 (GMT)
commit63f2d211954b790fea0a9caeae605c7956535af6 (patch)
treeb49257aa54d9657539eeba014f9ff5f91f8495de /fs/ceph/msgr.h
parent859e7b149362475672e2a996f29b8f45cbb34d82 (diff)
downloadlinux-63f2d211954b790fea0a9caeae605c7956535af6.tar.xz
ceph: use fixed endian encoding for ceph_entity_addr
We exchange struct ceph_entity_addr over the wire and store it on disk. The sockaddr_storage.ss_family field, however, is host endianness. So, fix ss_family endianness to big endian when sending/receiving over the wire. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/msgr.h')
-rw-r--r--fs/ceph/msgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/msgr.h b/fs/ceph/msgr.h
index 9abc879..8e3ea2e 100644
--- a/fs/ceph/msgr.h
+++ b/fs/ceph/msgr.h
@@ -21,7 +21,7 @@
* whenever the wire protocol changes. try to keep this string length
* constant.
*/
-#define CEPH_BANNER "ceph v022"
+#define CEPH_BANNER "ceph v023"
#define CEPH_BANNER_MAX_LEN 30