]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: pass walk_control structure to replay_one_extent()
authorFilipe Manana <fdmanana@suse.com>
Thu, 28 Aug 2025 12:05:52 +0000 (13:05 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 23 Sep 2025 06:49:19 +0000 (08:49 +0200)
commitc7da72022bb2cfeb21951b875db1f029ff236a72
tree068da85839f91b8b158f84d523016644d7dba4dc
parentb150f1c32138d6cdf1e6330521a5bbff3cdd9018
btrfs: pass walk_control structure to replay_one_extent()

Instead of passing the transaction and subvolume root as arguments to
replay_one_extent(), 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