summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-08-01 14:50:35 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:03 +0200
commit430a662602ea7f8db53ece65899ee35dad56c671 (patch)
treece9e8be38b59f2a6a5b4428d7909980d7f3f5961
parentf64ce7b84c471c5af97697e539a7b4babd73a780 (diff)
downloadlinux-rpi-430a662602ea7f8db53ece65899ee35dad56c671.tar.gz
linux-rpi-430a662602ea7f8db53ece65899ee35dad56c671.tar.bz2
linux-rpi-430a662602ea7f8db53ece65899ee35dad56c671.zip
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>
-rw-r--r--fs/btrfs/tree-log.c2
1 files changed, 1 insertions, 1 deletions
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();