summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerapheim Dimitropoulos <[email protected]>2020-08-17 15:25:37 -0700
committerGitHub <[email protected]>2020-08-17 15:25:37 -0700
commitb0099072dfc38c502222c47172469d7245027f35 (patch)
treee1ac54620cc6beb4d77883c2ee75f8c1dee1ce65
parent5f1984f2f83624b30dbdaa5d906a6253d78efb66 (diff)
Fix typo in btree.c
Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Signed-off-by: Serapheim Dimitropoulos <[email protected]> Closes #10725
-rw-r--r--module/zfs/btree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/btree.c b/module/zfs/btree.c
index d9b908dd2..57b9dbbb2 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