From: Tao Ma Date: Fri, 1 Jun 2012 02:54:16 +0000 (-0400) Subject: ext4: let getattr report the right blocks in delalloc+bigalloc X-Git-Tag: v3.5-rc1~16^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9660755100ae7677d65772a28e16d475a2ee9eab;p=pandora-kernel.git ext4: let getattr report the right blocks in delalloc+bigalloc In delayed allocation, i_reserved_data_blocks now indicates clusters, not blocks. So report it in the right number. This can be easily exposed by the following command: echo foo > blah; du -hc blah; sync; du -hc blah Reported-by: Eric Sandeen Signed-off-by: Tao Ma Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed