Btrfs: truncate: don't update inode->i_blocks when extent is a hole
authorYan <yanzheng@21cn.com>
Mon, 17 Sep 2007 15:13:11 +0000 (11:13 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:56 +0000 (11:03 -0400)
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 <chris.mason@oracle.com>

No differences found