ceph: fix decoding of pool snap info
authorSage Weil <sage@newdream.net>
Mon, 2 Aug 2010 18:00:55 +0000 (11:00 -0700)
committerSage Weil <sage@newdream.net>
Mon, 2 Aug 2010 18:10:07 +0000 (11:10 -0700)
commit73a7e693f9da464b0df07643af3f8ffc04dcc0b5
tree1e0e09dd0ee0390e4da8f2247187b283e48b228e
parent2d9c98ae97c18e8b1c363af6a2e51d5d9e8c5e04
ceph: fix decoding of pool snap info

The pool info contains a vector for snap_info_t, not snap ids.  This fixes
the broken decoding, which would declare teh update corrupt when a pool
snapshot was created.

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