]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush: fix get_full_location_ordered 2585/head
authorSage Weil <sage@inktank.com>
Sat, 28 Dec 2013 16:55:02 +0000 (08:55 -0800)
committerLoic Dachary <loic-201408@dachary.org>
Sat, 27 Sep 2014 09:28:51 +0000 (11:28 +0200)
commitc5298fba67e766dd2940a3bf3d1d8ca365fdbedf
treee0652673d75604ed59d6ad523d82a352046c24dd
parented1a801458f4fe6aacca7bd6388f7d98c6efc97c
crush: fix get_full_location_ordered

This should return -ENOENT when an id is not present.  Broken by
746069ee62c74ecf04ed45988029d5c3382a38d2.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit d4f07cd90b4037964a18e5c05a3cc5ddd73fb393)
src/crush/CrushWrapper.cc