diff options
author | Sage Weil <sage@inktank.com> | 2012-09-24 20:59:48 -0700 |
---|---|---|
committer | Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> | 2012-11-20 14:27:29 -0200 |
commit | 0bacca9bc6463b494a9839058e94fb0c15e78fc8 (patch) | |
tree | 1826b724decf16d8c9f9900a84ae74cd8e466092 /fs/ceph | |
parent | 838edc050d32d511cbf30df783dcc9e6041b5fad (diff) |
libceph: check for invalid mapping
commit d63b77f4c552cc3a20506871046ab0fcbc332609 upstream.
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>
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions