Commit ab76c43e authored by David Sterba's avatar David Sterba
Browse files

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: default avatarJosef Bacik <josef@toxicpanda.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 516095cd
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -442,9 +442,6 @@ static struct extent_state *insert_state(struct extent_io_tree *tree,
			}
			node = &(*node)->rb_right;
		} else {
			btrfs_err(tree->fs_info,
			       "found node %llu %llu on insert of %llu %llu",
			       entry->start, entry->end, state->start, state->end);
			return ERR_PTR(-EEXIST);
		}
	}