diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-02-22 16:35:46 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-23 17:50:22 -0800 |
commit | 43be594a6b0ce34ab5fa3b13e08727a99fb95b91 (patch) | |
tree | bd76623b74473a04d4ebb4e044ac2382bfb43a54 /mm | |
parent | 6434b94a16b09ac84a6411adb2bc0b645245d007 (diff) | |
download | op-kernel-dev-43be594a6b0ce34ab5fa3b13e08727a99fb95b91.zip op-kernel-dev-43be594a6b0ce34ab5fa3b13e08727a99fb95b91.tar.gz |
fs/buffer.c: change type of max_buffer_heads to unsigned long
max_buffer_heads is calculated from nr_free_buffer_pages(), so change
its type to unsigned long in case of overflow.
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions