From: Yan Date: Mon, 17 Sep 2007 15:13:11 +0000 (-0400) Subject: Btrfs: truncate: don't update inode->i_blocks when extent is a hole X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~477 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bab9fb035faa5119991b64cfee1b14c1d6f6a31b;p=pandora-kernel.git Btrfs: truncate: don't update inode->i_blocks when extent is a hole I think check whether extent is a hole before update 'inode->i_blocks' is unconditional required. (original codes check it only when del_item isn't equal to 0) Signed-off-by: Chris Mason --- Reading git-diff-tree failed