]> git.openpandora.org Git - pandora-kernel.git/commitdiff
HWPOISON: Refactor truncate to allow direct truncating of page v2
authorNick Piggin <npiggin@suse.de>
Wed, 16 Sep 2009 09:50:12 +0000 (11:50 +0200)
committerAndi Kleen <ak@linux.intel.com>
Wed, 16 Sep 2009 09:50:12 +0000 (11:50 +0200)
Extract out truncate_inode_page() out of the truncate path so that
it can be used by memory-failure.c

[AK: description, headers, fix typos]
v2: Some white space changes from Fengguang Wu

Signed-off-by: Andi Kleen <ak@linux.intel.com>
include/linux/mm.h
mm/truncate.c

Simple merge
diff --cc mm/truncate.c
Simple merge