summaryrefslogtreecommitdiff
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2007-10-16 23:31:29 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:43:06 -0700
commitf32143a2fedfa299d790ca96bff9b1d2e2d6996b (patch)
tree351a003cb63efe43a6e53c20483f2caeeef5737e /mm/page-writeback.c
parent24950898ffd161f2ea67c60f398146457bca8bf0 (diff)
downloadlwn-f32143a2fedfa299d790ca96bff9b1d2e2d6996b.tar.gz
lwn-f32143a2fedfa299d790ca96bff9b1d2e2d6996b.zip
Documentation/vm/slabinfo.c: clean up this code
This patch does the following cleanups for Documentation/vm/slabinfo.c: - Fix two memory leaks; - Constify some char pointers; - Use snprintf instead of sprintf in case of buffer overflow; - Fix some indentations; - Other little improvements. Acked-by: Christoph Lameter <clameter@sgi.com> Signed-off-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 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions