commit | 43be594a6b0ce34ab5fa3b13e08727a99fb95b91 | [log] [tgz] |
---|---|---|
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | Fri Feb 22 16:35:46 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Feb 23 17:50:22 2013 -0800 |
tree | bd76623b74473a04d4ebb4e044ac2382bfb43a54 | |
parent | 6434b94a16b09ac84a6411adb2bc0b645245d007 [diff] |
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>