summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-11-13 11:32:44 +0000
committerDavid Sterba <dsterba@suse.com>2025-11-24 22:42:25 +0100
commit7447263d7da24097f17147ffe5d9c43c317deb44 (patch)
treeb9e34fd6a2a5b5dfb656995ec05c25debf46ca24 /fs/btrfs/dev-replace.c
parentfad159f69edabac046c725cdecf22275199b2dd0 (diff)
btrfs: always use left leaf variable in __push_leaf_right()
The 'left' variable points to path->nodes[0] and path->nodes[0] is never changed, but some places use 'left' while others refer to path->nodes[0]. Update all sites to use 'left' as not only it's shorter it's also easier to reason since it means the left leaf and avoids any confusion with the sibling right 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