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)
commit750b4987b0cd4d408e54cb83a80a067cbe690feb
tree1372d0f64da3575eb93bac284c73e548e23b9ea6
parent2a7684a23e9c263c2a1e8b2c0027ad1836a0f9df
HWPOISON: Refactor truncate to allow direct truncating of page v2

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