From: Allison Henderson Date: Wed, 25 May 2011 11:41:32 +0000 (-0400) Subject: ext4: add new function ext4_block_zero_page_range() X-Git-Tag: v3.0-rc1~140^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=308488518dfcbe3be250085cd582f5b0c1ce72a9;p=pandora-kernel.git ext4: add new function ext4_block_zero_page_range() This patch modifies the existing ext4_block_truncate_page() function which was used by the truncate code path, and which zeroes out block unaligned data, by adding a new length parameter, and renames it to ext4_block_zero_page_rage(). This function can now be used to zero out the head of a block, the tail of a block, or the middle of a block. The ext4_block_truncate_page() function is now a wrapper to ext4_block_zero_page_range(). [ext4 punch hole patch series 2/5 v7] Signed-off-by: Allison Henderson Signed-off-by: "Theodore Ts'o" Reviewed-by: Mingming Cao --- Reading git-diff-tree failed