• Filipe Manana's avatar
    btrfs: update outdated comment at btrfs_replace_file_extents() · e2b84217
    Filipe Manana authored
    There is a comment at btrfs_replace_file_extents() that mentions that we
    set the full sync flag on an inode when cloning into a file with a size
    greater than or equals to 16MiB, through try_release_extent_mapping() when
    we truncate the page cache after replacing file extents during a clone
    operation.
    
    That is not true anymore since commit 5e548b32
    
     ("btrfs: do not set
    the full sync flag on the inode during page release"), so update the
    comment to remove that part and rephrase it slightly to make it more
    clear why the full sync flag is set at btrfs_replace_file_extents().
    Signed-off-by: default avatarFilipe Manana <fdmanana@suse.com>
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    e2b84217
file.c 98.3 KB