diff options
author | Filipe Manana <fdmanana@suse.com> | 2022-09-08 14:31:52 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-09-26 13:28:02 +0300 |
commit | b0b47a38596f32130cb6cbdd4f7be80778fc359a (patch) | |
tree | d9095373d628882e1fd87f1551c36279a59ef2ee /fs/btrfs/block-rsv.c | |
parent | 650c8a9c7d88f06c23a9794388623822f068a5df (diff) | |
download | linux-b0b47a38596f32130cb6cbdd4f7be80778fc359a.tar.xz |
btrfs: remove useless used space increment during space reservation
At space-info.c:__reserve_bytes(), we increment the 'used' variable, but
then we don't use the variable anymore, making the increment pointless.
The increment became useless with commit 2e294c60497f29 ("btrfs: simplify
the logic in need_preemptive_flushing"), so just remove it.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/block-rsv.c')
0 files changed, 0 insertions, 0 deletions