btrfs: tree-log: use symbolic name for first replay stage

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2019-08-01 14:50:35 +02:00
parent f64ce7b84c
commit 430a662602

View File

@ -6233,7 +6233,7 @@ int btrfs_recover_log_trees(struct btrfs_root *log_root_tree)
struct btrfs_fs_info *fs_info = log_root_tree->fs_info; struct btrfs_fs_info *fs_info = log_root_tree->fs_info;
struct walk_control wc = { struct walk_control wc = {
.process_func = process_one_buffer, .process_func = process_one_buffer,
.stage = 0, .stage = LOG_WALK_PIN_ONLY,
}; };
path = btrfs_alloc_path(); path = btrfs_alloc_path();