From: Theodore Ts'o Date: Tue, 9 Jun 2009 13:54:40 +0000 (-0400) Subject: ext4: Don't treat a truncation of a zero-length file as replace-via-truncate X-Git-Tag: v2.6.31-rc1~396^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0eab928221bac8895a0b494a16a8810002bd8645;p=pandora-kernel.git ext4: Don't treat a truncation of a zero-length file as replace-via-truncate If a non-existent file is opened via O_WRONLY|O_CREAT|O_TRUNC, there's no need to treat this as a true file truncation, so we shouldn't activate the replace-via-truncate hueristic. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed