]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: pass walk_control structure to replay_one_dir_item() and replay_one_name()
authorFilipe Manana <fdmanana@suse.com>
Thu, 28 Aug 2025 12:54:40 +0000 (13:54 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 23 Sep 2025 06:49:19 +0000 (08:49 +0200)
commit744e0cebb4fa51fcca2d9d916dd3a8d353e2e6d1
tree4eac2a47902fc127f766cfe7af79f08f34031aa3
parent44463eb0799226e60c8ff358da78e33edac83ee5
btrfs: pass walk_control structure to replay_one_dir_item() and replay_one_name()

Instead of passing the transaction and subvolume root and log tree as
arguments, pass the walk_control structure as we can grab all of those
from the structure. This reduces the number of arguments passed and it's
going to be needed by an incoming change that improves error reporting
for log replay.

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