diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-08-15 18:26:55 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-12-17 14:51:30 +0100 |
commit | 8c7eeb6557877e3272f3105955ca103ee351f16d (patch) | |
tree | bba91c499bb333037ed2dc0eed5b05e57667ccf5 /net/dsa | |
parent | 24cee18a1c1d7c731ea5987e0c99daea22ae7f4a (diff) | |
download | linux-8c7eeb6557877e3272f3105955ca103ee351f16d.tar.bz2 |
btrfs: Remove extra reference count bumps in btrfs_compare_trees
When the 2 comparison trees roots are initialised they are private to
the function and already have reference counts of 1 each. There is no
need to further increment the reference count since the cloned buffers
are already accessed via struct btrfs_path. Eventually the 2 paths used
for comparison are going to be released, effectively disposing of the
cloned buffers.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions