ceph: fix endian conversions for ceph_pg
authorSage Weil <sage@newdream.net>
Wed, 4 Nov 2009 19:39:12 +0000 (11:39 -0800)
committerSage Weil <sage@newdream.net>
Thu, 5 Nov 2009 00:36:07 +0000 (16:36 -0800)
commit51042122d4f85e0f8ee577a4230f172fcc57c456
treed5ccf5f84d362b6542a86eab6b6f50112111434b
parent63f2d211954b790fea0a9caeae605c7956535af6
ceph: fix endian conversions for ceph_pg

The endian conversions don't quite work with the old union ceph_pg.  Just
make it a regular struct, and make each field __le.  This is simpler and it
has the added bonus of actually working.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/ioctl.c
fs/ceph/osd_client.c
fs/ceph/osdmap.c
fs/ceph/osdmap.h
fs/ceph/rados.h