diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-11-13 11:52:34 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-11-24 22:42:25 +0100 |
| commit | 027358a0900913a395f99d911108375a7f1c50f4 (patch) | |
| tree | 12bd187cfe1500c09f4bf47154ea218f4c8f1f20 /fs/btrfs/dev-replace.c | |
| parent | 29bb40ed56ab9a1418cbe3e62c97a27b48f896e2 (diff) | |
btrfs: always use right leaf variable in __push_leaf_left()
The 'right' variable points to path->nodes[0] and path->nodes[0] is never
changed, but some places use 'right' while others refer to path->nodes[0].
Update all sites to use 'right' as not only it's shorter it's also easier
to reason since it means the right leaf and avoids any confusion with the
sibling left leaf.
Reviewed-by: Qu Wenruo <wqu@suse.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/dev-replace.c')
0 files changed, 0 insertions, 0 deletions