ceph: fix crush map update decoding
authorSage Weil <sage@newdream.net>
Thu, 17 Jun 2010 17:22:48 +0000 (10:22 -0700)
committerSage Weil <sage@newdream.net>
Thu, 17 Jun 2010 17:22:48 +0000 (10:22 -0700)
commitcebc5be6b6c82a99231e9c9af451e9e3d3399ec6
tree5899be89ac6396cb38ca938f922ef0a8ab57d3b3
parentae32be31341a5fecfa16c5b3eb78095207182cce
ceph: fix crush map update decoding

If the incremental osdmap has a new crush map, advance the position after
decoding so that we can parse the rest of the osdmap properly.

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