Fork of hrdl's(https://git.sr.ht/~hrdl/linux) 'hrdl-pinenote-6.15rc3 branch, rebased to 6.15. hrdl's branch is itself a fork of m-weigand's (https://github.com/m-weigand/linux) v6.12 branch.
Find a 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