From: Theodore Ts'o Date: Tue, 2 Jun 2009 12:09:24 +0000 (-0400) Subject: ext4: Automatically allocate delay allocated blocks on rename X-Git-Tag: v2.6.27.25~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=663d2c001cad1e268371dcda82de46815189e2f2;p=pandora-kernel.git ext4: Automatically allocate delay allocated blocks on rename (cherry picked from commit 8750c6d5fcbd3342b3d908d157f81d345c5325a7) When renaming a file such that a link to another inode is overwritten, 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