Skip to content

Commit ab76c43

Browse files
committed
btrfs: drop error message in extent_io_tree insert_state()
The helper insert_state errors are handled in all callers and reported by extent_io_tree_panic so we don't need to do it twice. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
1 parent 516095c commit ab76c43

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

fs/btrfs/extent-io-tree.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,6 @@ static struct extent_state *insert_state(struct extent_io_tree *tree,
442442
}
443443
node = &(*node)->rb_right;
444444
} else {
445-
btrfs_err(tree->fs_info,
446-
"found node %llu %llu on insert of %llu %llu",
447-
entry->start, entry->end, state->start, state->end);
448445
return ERR_PTR(-EEXIST);
449446
}
450447
}

0 commit comments

Comments
 (0)