summaryrefslogtreecommitdiff
path: root/fs/ceph/file.c
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-09-25 03:59:48 (GMT)
committerAlex Elder <elder@inktank.com>2012-10-01 22:20:00 (GMT)
commitd63b77f4c552cc3a20506871046ab0fcbc332609 (patch)
treea428fe42c092c0f6126a99fbc788ae96e8922a97 /fs/ceph/file.c
parentb905a7f8b7a61c192927d0324f2ea6c998f451ba (diff)
downloadlinux-d63b77f4c552cc3a20506871046ab0fcbc332609.tar.xz
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>
Diffstat (limited to 'fs/ceph/file.c')
0 files changed, 0 insertions, 0 deletions