diff options
| author | Nikolay Borisov <[email protected]> | 2018-08-15 15:26:55 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-12-17 13:51:30 +0000 |
| commit | 8c7eeb6557877e3272f3105955ca103ee351f16d (patch) | |
| tree | bba91c499bb333037ed2dc0eed5b05e57667ccf5 /fs/btrfs/dev-replace.c | |
| parent | btrfs: Remove extraneous extent_buffer_get from tree_mod_log_rewind (diff) | |
| download | kernel-8c7eeb6557877e3272f3105955ca103ee351f16d.tar.gz kernel-8c7eeb6557877e3272f3105955ca103ee351f16d.zip | |
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 <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
