From: Yongqiang Yang Date: Wed, 14 Dec 2011 03:05:05 +0000 (-0500) Subject: ext4: correctly handle pages w/o buffers in ext4_discard_partial_buffers() X-Git-Tag: v3.2-rc6~16^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=093e6e3666f47d29763a235b404c84ee47ba8bb0;p=pandora-kernel.git ext4: correctly handle pages w/o buffers in ext4_discard_partial_buffers() If a page has been read into memory and never been written, it has no buffers, but we should handle the page in truncate or punch hole. VFS code of writing operations has handled holes correctly, so this patch removes the code handling holes in writing operations. Signed-off-by: Yongqiang Yang Signed-off-by: "Theodore Ts'o" Cc: stable@kernel.org --- Reading git-diff-tree failed