summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorCesar Eduardo Barros2010-05-26 23:44:27 +0200
committerLinus Torvalds2010-05-27 18:12:53 +0200
commitedcd1d843adf09d1742d49ae04fa51bb63ddd1c3 (patch)
tree7c0af77b470531f3a5e648cca232ec5821101385 /usr
parentaio: fix the compat vectored operations (diff)
downloadkernel-qcow2-linux-edcd1d843adf09d1742d49ae04fa51bb63ddd1c3.tar.gz
kernel-qcow2-linux-edcd1d843adf09d1742d49ae04fa51bb63ddd1c3.tar.xz
kernel-qcow2-linux-edcd1d843adf09d1742d49ae04fa51bb63ddd1c3.zip
radix-tree: fix radix_tree_prev_hole() underflow case
radix_tree_prev_hole() used LONG_MAX to detect underflow; however, ULONG_MAX is clearly what was intended, both here and by its only user (count_history_pages at mm/readahead.c). Reviewed-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions