• Chris Mason's avatar
    Btrfs: Fix i_blocks accounting · 9069218d
    Chris Mason authored
    Now that delayed allocation accounting works, i_blocks accounting is changed
    to only modify i_blocks when extents inserted or removed.
    
    The fillattr call is changed to include the delayed allocation byte count
    in the i_blocks result.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    9069218d
file.c 25.5 KB