libceph: add osdmap_set_crush() helper
authorIlya Dryomov <idryomov@gmail.com>
Tue, 31 Jan 2017 14:55:06 +0000 (15:55 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Feb 2017 11:16:11 +0000 (12:16 +0100)
commit1b6a78b5b91cdc07cc0b940b458e90c86835cf73
treef9188936a30167cc3a1e3c71eadf4057e22dfe37
parent19def166f3781edb4c68c3c68fcb8199eed2d605
libceph: add osdmap_set_crush() helper

Simplify osdmap_decode() and osdmap_apply_incremental() a bit.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/osdmap.c