diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2011-01-12 17:00:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 08:03:16 -0800 |
commit | a2ade7b6ca37c808128810687cd56e8a44443e65 (patch) | |
tree | d7ffb1be14e69f4ba22ca425c21369d4dd3a3032 /fs/proc/devices.c | |
parent | 34e49d4f635d6a800c4089c40fd254e12e451449 (diff) | |
download | linux-3.10-a2ade7b6ca37c808128810687cd56e8a44443e65.tar.gz linux-3.10-a2ade7b6ca37c808128810687cd56e8a44443e65.tar.bz2 linux-3.10-a2ade7b6ca37c808128810687cd56e8a44443e65.zip |
proc: use unsigned long inside /proc/*/statm
/proc/*/statm code needlessly truncates data from unsigned long to int.
One needs only 8+ TB of RAM to make truncation visible.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/devices.c')
0 files changed, 0 insertions, 0 deletions