commit | d63b77f4c552cc3a20506871046ab0fcbc332609 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@inktank.com> | Mon Sep 24 20:59:48 2012 -0700 |
committer | Alex Elder <elder@inktank.com> | Mon Oct 01 17:20:00 2012 -0500 |
tree | a428fe42c092c0f6126a99fbc788ae96e8922a97 | |
parent | b905a7f8b7a61c192927d0324f2ea6c998f451ba [diff] |
libceph: check for invalid mapping If we encounter an invalid (e.g., zeroed) mapping, return an error and avoid a divide by zero. Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Alex Elder <elder@inktank.com>