ceph/ceph — pull request #674 by liewegas (2013-10-01 22:48:01+00:00)
Title: crush: invalidate rmap on create (and thus decode)

If we have an existing CrushWrapper object and decode from a bufferlist,
reset build_rmaps so that they get rebuilt.

Remove the build_rmaps() all in decode that was useless on a redecode
(because have_rmaps == true in that case and it did nothing).

Fixes: #6442 Backport: dumpling Signed-off-by: Sage Weil