aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2009-09-18 13:05:50 -0700
committerAl Viro <[email protected]>2009-09-24 07:47:31 -0400
commit5aa98b706e83da4cde4172c890d6e815915536a0 (patch)
treece7a52cb4d019110076ef0d3791a947ce343abc6 /lib/cpu-notifier-error-inject.c
parent05cc0cee6948fc11985d11557fb130645a7f69a6 (diff)
vfs: explicitly cast s_maxbytes in fiemap_check_ranges
If fiemap_check_ranges is passed a large enough value, then it's possible that the value would be cast to a signed value for comparison against s_maxbytes when we change it to loff_t. Make sure that doesn't happen by explicitly casting s_maxbytes to an unsigned value for the purposes of comparison. Signed-off-by: Jeff Layton <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Robert Love <[email protected]> Cc: Al Viro <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Mandeep Singh Baines <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions