From: Amir Goldstein Date: Mon, 28 Feb 2011 04:32:12 +0000 (-0500) Subject: ext4: use the nblocks arg to ext4_truncate_restart_trans() X-Git-Tag: v2.6.39-rc1~73^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e8eaabefee3ff645b9551ee32c6c54c7d80ad19;p=pandora-kernel.git ext4: use the nblocks arg to ext4_truncate_restart_trans() nblocks is passed into ext4_truncate_restart_trans() from ext4_ext_truncate_extend_restart() with a value different from the default blocks_for_truncate(), but is being ignored. The two other calls to ext4_truncate_restart_trans() already pass the default value, which is then being recalculated inside the function. Fix the problem by using the passed argument. Signed-off-by: Amir Goldstein --- Reading git-diff-tree failed