libceph: decode into cpu-native ceph_pg type
authorSage Weil <sage@inktank.com>
Sat, 23 Feb 2013 18:38:16 +0000 (10:38 -0800)
committerSage Weil <sage@inktank.com>
Tue, 26 Feb 2013 23:01:57 +0000 (15:01 -0800)
commit5b191d9914eb68257f47de9d5bfe099b77f0687c
tree2465631736897b02dd16de136ef5b69dadb943f1
parent12979354a1d6ef25d86f381e4d5f9e103f29913a
libceph: decode into cpu-native ceph_pg type

Always decode data into our cpu-native ceph_pg type that has the correct
field widths.  Limit any remaining uses of ceph_pg_v1 to dealing with the
legacy protocol.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
fs/ceph/ioctl.c
include/linux/ceph/osd_client.h
include/linux/ceph/osdmap.h
net/ceph/debugfs.c
net/ceph/osd_client.c
net/ceph/osdmap.c