summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/tree-log.c')
-rw-r--r--fs/btrfs/tree-log.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index 1776ac466f02..54031a38906a 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -6163,10 +6163,6 @@ again:
tmp_key.offset = (u64)-1;
wc.replay_dest = btrfs_get_fs_root(fs_info, &tmp_key, true);
- if (!IS_ERR(wc.replay_dest)) {
- if (!btrfs_grab_fs_root(wc.replay_dest))
- wc.replay_dest = ERR_PTR(-ENOENT);
- }
if (IS_ERR(wc.replay_dest)) {
ret = PTR_ERR(wc.replay_dest);