From b0099072dfc38c502222c47172469d7245027f35 Mon Sep 17 00:00:00 2001 From: Serapheim Dimitropoulos Date: Mon, 17 Aug 2020 15:25:37 -0700 Subject: [PATCH] Fix typo in btree.c Reviewed-by: George Melikov Reviewed-by: Brian Behlendorf Reviewed-by: Matthew Ahrens Signed-off-by: Serapheim Dimitropoulos Closes #10725 --- module/zfs/btree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/zfs/btree.c b/module/zfs/btree.c index d9b908dd20..57b9dbbb2b 100644 --- a/module/zfs/btree.c +++ b/module/zfs/btree.c @@ -1465,7 +1465,7 @@ zfs_btree_remove_from_node(zfs_btree_t *tree, zfs_btree_core_t *node, /* * In this case, neither of our neighbors can spare an element, so we * need to merge with one of them. We prefer the left one, - * arabitrarily. Move the separator into the leftmost merging node + * arbitrarily. Move the separator into the leftmost merging node * (which may be us or the left neighbor), and then move the right * merging node's elements. Once that's done, we go back and delete * the element we're removing. Finally, go into the parent and delete @@ -1707,7 +1707,7 @@ zfs_btree_remove_idx(zfs_btree_t *tree, zfs_btree_index_t *where) /* * In this case, neither of our neighbors can spare an element, so we * need to merge with one of them. We prefer the left one, - * arabitrarily. Move the separator into the leftmost merging node + * arbitrarily. Move the separator into the leftmost merging node * (which may be us or the left neighbor), and then move the right * merging node's elements. Once that's done, we go back and delete * the element we're removing. Finally, go into the parent and delete