summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Laager <[email protected]>2019-04-14 21:06:34 -0500
committerBrian Behlendorf <[email protected]>2019-04-14 19:06:34 -0700
commit83472fabe5600695fdb07a3f158a9352cc5bf3af (patch)
treeab940e40b76709b3d7e59fef85aab853f3474730 /lib
parent703f791d3538472600571ecde01627df6b47e6d6 (diff)
Fix hierarchy misspellings
Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reported-by: Matthew Ahrens <[email protected]> Signed-off-by: Richard Laager <[email protected]> Closes #8563 Closes #8622
Diffstat (limited to 'lib')
-rw-r--r--lib/libzfs/libzfs_sendrecv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libzfs/libzfs_sendrecv.c b/lib/libzfs/libzfs_sendrecv.c
index bcf0f43ce..d68efd96e 100644
--- a/lib/libzfs/libzfs_sendrecv.c
+++ b/lib/libzfs/libzfs_sendrecv.c
@@ -2759,13 +2759,13 @@ created_before(libzfs_handle_t *hdl, avl_tree_t *avl,
}
/*
- * This function reestablishes the heirarchy of encryption roots after a
+ * This function reestablishes the hierarchy of encryption roots after a
* recursive incremental receive has completed. This must be done after the
* second call to recv_incremental_replication() has renamed and promoted all
- * sent datasets to their final locations in the dataset heriarchy.
+ * sent datasets to their final locations in the dataset hierarchy.
*/
static int
-recv_fix_encryption_heirarchy(libzfs_handle_t *hdl, const char *destname,
+recv_fix_encryption_hierarchy(libzfs_handle_t *hdl, const char *destname,
nvlist_t *stream_nv, avl_tree_t *stream_avl)
{
int err;
@@ -3406,7 +3406,7 @@ zfs_receive_package(libzfs_handle_t *hdl, int fd, const char *destname,
}
if (raw && softerr == 0) {
- softerr = recv_fix_encryption_heirarchy(hdl, destname,
+ softerr = recv_fix_encryption_hierarchy(hdl, destname,
stream_nv, stream_avl);
}
@@ -3815,7 +3815,7 @@ zfs_receive_one(libzfs_handle_t *hdl, int infd, const char *tosnap,
/*
* The keylocation property may only be set on encryption roots,
* but this dataset might not become an encryption root until
- * recv_fix_encryption_heirarchy() is called. That function
+ * recv_fix_encryption_hierarchy() is called. That function
* will fixup the keylocation anyway, so we temporarily unset
* the keylocation for now to avoid any errors from the receive
* ioctl.