From: Theodore Ts'o Date: Tue, 2 Jun 2009 12:09:23 +0000 (-0400) Subject: ext4: Automatically allocate delay allocated blocks on close X-Git-Tag: v2.6.27.25~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d984daec00917893707a443add0a7a0f190da2;p=pandora-kernel.git ext4: Automatically allocate delay allocated blocks on close (cherry picked from commit 7d8f9f7d150dded7b68e61ca6403a1f166fb4edf) When closing a file that had been previously truncated, force any delay allocated blocks that to be allocated so that if the filesystem is mounted with data=ordered, the data blocks will be pushed out to disk along with the journal commit. Many application programs expect this, so we do this to avoid zero length files if the system crashes unexpectedly. Signed-off-by: "Theodore Ts'o" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed