"net/git@git.tuxist.de:jan.koester/linux.git" did not exist on "1f4c17a03ba7f430d63dba8c8e08ff1e2712581d"
Properly delete csum item in btrfs_truncate_in_trans.
When 'item_end' is equal to 'inode->i_size', 'found_type' is updated
and current item is skipped. This behavior is correct for extent item,
but incorrect for csum item. For example, there is a csum item with
'offset == 0'. When deleting the inode, 'inode->i_size' is set to 0,
so the csum item isn't deleted.
Signed-off-by:
Chris Mason <chris.mason@oracle.com>
Loading
Please sign in to comment