aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorXi Wang <[email protected]>2012-02-16 11:56:29 -0500
committerAlex Elder <[email protected]>2012-03-22 10:47:45 -0500
commit80834312a4da1405a9bc788313c67643de6fcb4c (patch)
tree46fdff81b144f9307a4361f943b7f0fa4d7f1341 /include/linux/debugobjects.h
parent64486697771cbe219fffcb5c8e2ed9ca4fdf086c (diff)
ceph: fix overflow check in build_snap_context()
The overflow check for a + n * b should be (n > (ULONG_MAX - a) / b), rather than (n > ULONG_MAX / b - a). Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Sage Weil <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions