libceph: fix crush_decode() for older maps
authorIlya Dryomov <idryomov@gmail.com>
Tue, 28 Feb 2017 17:53:53 +0000 (18:53 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 7 Mar 2017 13:30:37 +0000 (14:30 +0100)
commit9afd30dbc82a9dbea4101aba57beb2a2a7e1b8d5
tree41513ac5ab92f482a9a965d5932d58ecf2f92cb0
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
libceph: fix crush_decode() for older maps

Older (shorter) CRUSH maps too need to be finalized.

Fixes: 66a0e2d579db ("crush: remove mutable part of CRUSH map")
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/osdmap.c