From: Sage Weil Date: Tue, 3 Nov 2009 23:17:56 +0000 (-0800) Subject: ceph: use fixed endian encoding for ceph_entity_addr X-Git-Tag: v2.6.34-rc2~9^2~143 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f2d211954b790fea0a9caeae605c7956535af6;p=pandora-kernel.git 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 --- Reading git-diff-tree failed