summaryrefslogtreecommitdiff
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2022-11-11 11:50:33 +0000
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:56 +0100
commit1ee51a06255d425c1b7effff095f0bf9c7240078 (patch)
tree87dbbf4cb6d9bd740308c3bec98b2ba11babfc14 /fs/btrfs/file.c
parent8c6e53a79d16b3651ad3abeb415e1c637da75082 (diff)
btrfs: update stale comment for count_range_bits()
The comment for count_range_bits() mentions that the search is fast if we are asking for a range with the EXTENT_DIRTY bit set. However that is no longer true since we don't use that bit and the optimization for that was removed in: commit 71528e9e16c7 ("btrfs: get rid of extent_io_tree::dirty_bytes") So remove that part of the comment mentioning the no longer existing optimized case, and, while at it, add proper documentation describing the purpose, arguments and return value of the function. Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions