]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: remove confusing tracepoint in btrfs_add_reserved_bytes
authorLiu Bo <bo.liu@linux.alibaba.com>
Wed, 5 Sep 2018 01:55:27 +0000 (09:55 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:28 +0000 (17:23 +0200)
commit8410b0c6b144e6413632b8b6d6d7b207fba78dcd
treed63e9dac5a78cfc320e9cb28d27187367cb4687b
parentf8b030b9dab7c7a84d3221f84966046de9268a35
Btrfs: remove confusing tracepoint in btrfs_add_reserved_bytes

Here we're not releasing any space, but transferring bytes from
->bytes_may_use to ->bytes_reserved. The last change to the code in
commit a7ffa89de826b66e7 ("btrfs: update btrfs_space_info's
bytes_may_use timely") removed a conditional tracepoint and the logic
changed too but the tracepiont remained.

Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c