aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/ctree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 04b06bcf2ca9..15cbc2bf4ff0 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -1175,7 +1175,7 @@ get_old_root(struct btrfs_root *root, u64 time_seq)
1175 struct tree_mod_elem *tm; 1175 struct tree_mod_elem *tm;
1176 struct extent_buffer *eb; 1176 struct extent_buffer *eb;
1177 struct tree_mod_root *old_root = NULL; 1177 struct tree_mod_root *old_root = NULL;
1178 u64 old_generation; 1178 u64 old_generation = 0;
1179 u64 logical; 1179 u64 logical;
1180 1180
1181 eb = btrfs_read_lock_root_node(root); 1181 eb = btrfs_read_lock_root_node(root);