Kernel Tree For Xiaomi 11 Lite NE 5G
Go to file
Yan bab9fb035f 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 <chris.mason@oracle.com>
2008-09-25 11:03:56 -04:00
fs/btrfs Btrfs: truncate: don't update inode->i_blocks when extent is a hole 2008-09-25 11:03:56 -04:00