libceph: fix decoding of pgids
authorSage Weil <sage@inktank.com>
Wed, 6 Mar 2013 22:57:03 +0000 (14:57 -0800)
committerSage Weil <sage@inktank.com>
Mon, 11 Mar 2013 21:31:00 +0000 (14:31 -0700)
commitd6c0dd6b0c196979fa7b34c1d99432fcb1b7e1df
treef9bdfa272649c1890bf65cf2fc36e97562149950
parent83ca14fdd35821554058e5fd4fa7b118ee504a33
libceph: fix decoding of pgids

In 4f6a7e5ee1393ec4b243b39dac9f36992d161540 we effectively dropped support
for the legacy encoding for the OSDMap and incremental.  However, we didn't
fix the decoding for the pgid.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
net/ceph/osdmap.c