]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: rename root to log in walk_down_log_tree() and walk_up_log_tree()
authorFilipe Manana <fdmanana@suse.com>
Tue, 26 Aug 2025 15:43:48 +0000 (16:43 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 23 Sep 2025 06:49:17 +0000 (08:49 +0200)
commit60ac80242be1ce5e75f7f1e79f0d02996702388c
treec2be2d750595b98ac9cf18417bf656506b1eb4de
parent2c123db1f0e1fbba424263851973e2bb862c26fb
btrfs: rename root to log in walk_down_log_tree() and walk_up_log_tree()

Everywhere we have a log root we name it as 'log' or 'log_root' except in
walk_down_log_tree() and walk_up_log_tree() where we name it as 'root',
which not only it's inconsistent, it's also confusing since we typically
use 'root' when naming variables that refer to a subvolume tree. So for
clairty and consistency rename the 'root' argument to 'log'.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-log.c