From 430a662602ea7f8db53ece65899ee35dad56c671 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 1 Aug 2019 14:50:35 +0200 Subject: [PATCH] btrfs: tree-log: use symbolic name for first replay stage Reviewed-by: Nikolay Borisov Reviewed-by: Anand Jain Signed-off-by: David Sterba --- fs/btrfs/tree-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 0b85b2ffbdfa..19a4b9dc669f 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -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 walk_control wc = { .process_func = process_one_buffer, - .stage = 0, + .stage = LOG_WALK_PIN_ONLY, }; path = btrfs_alloc_path(); -- 2.30.2