diff options
author | Sage Weil <sage@inktank.com> | 2012-09-24 20:59:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-26 11:38:44 -0800 |
commit | dfae3b3451c6da14df1fa62d76c8a4345d21bdb2 (patch) | |
tree | d674f1e1998b9ae902ab74f235e1bd39d31525d4 /include/linux/input.h | |
parent | 73bba6fc44591587254fec8e867a99b5a2a28ba7 (diff) |
libceph: check for invalid mapping
(cherry picked from commit d63b77f4c552cc3a20506871046ab0fcbc332609)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/input.h')
0 files changed, 0 insertions, 0 deletions