summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2021-05-24 11:35:54 +0100
committerDavid Sterba <dsterba@suse.com>2021-06-21 15:19:05 +0200
commit4f7e67378e1bccd4d1d4de5d7f5aaf928cc07928 (patch)
tree6ee52ceb992e2f293a1257bdec6b3d70b6e8d9a8 /fs/btrfs/tree-log.c
parent04587ad9bef6ce9d510325b4ba9852b6129eebdb (diff)
btrfs: fix misleading and incomplete comment of btrfs_truncate()
The comment at the top of btrfs_truncate() mentions that csum items are dropped or truncated to the new i_size, but this is wrong and non sense, as they are unrelated to the i_size and are located in the csums tree and not on a tree with inode items (fs/subvolume tree or a log tree). Instead that claim applies to file extent items, so fix the comment to refer to them instead. While at it make the whole comment for the function more descriptive and follow the kernel doc style. Tested-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions