]> Gentwo Git Trees - linux/.git/commit
btrfs: move up the definition of struct walk_control
authorFilipe Manana <fdmanana@suse.com>
Wed, 27 Aug 2025 14:48:49 +0000 (15:48 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 23 Sep 2025 06:49:18 +0000 (08:49 +0200)
commit94a5ac668a49c4fc1bd8e35a3c717ba0ae9f7cf8
tree2602ac11b4e9657255f5eed7151b2f49d792b8d3
parent7790a882ca6bfe24392080605e5ba19f138ac29d
btrfs: move up the definition of struct walk_control

In upcoming changes we need to pass struct walk_control as an argument to
replay_dir_deletes() and link_to_fixup_dir() so we need to move its
definition above the prototypes of those functions. So move it up right
below the enum that defines log replay stages and before any functions and
function prototypes are declared. Also fixup the comments while moving it
so that they comply with the preferred code style (capitalize the first
word in a sentence, end sentences with punctuation, makes lines wider and
closer to the 80 characters limit).

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