smbd:vfs: fix mis-spellings of hierarchy in comments
authorMichael Adam <obnox@samba.org>
Mon, 20 Aug 2018 10:04:20 +0000 (12:04 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 12 Sep 2018 00:05:47 +0000 (02:05 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 12 02:05:47 CEST 2018 on sn-devel-144

source3/smbd/vfs.c

index a6c49cfad341428eed91a6771601520399e07a4b..28ebfc92dc73fd9ef260d165b991c898ac0d85d5 100644 (file)
@@ -983,7 +983,7 @@ struct smb_filename *vfs_GetWd(TALLOC_CTX *ctx, connection_struct *conn)
 
 /*******************************************************************
  Reduce a file name, removing .. elements and checking that
- it is below dir in the heirachy. This uses realpath.
+ it is below dir in the hierarchy. This uses realpath.
  This function must run as root, and will return names
  and valid stat structs that can be checked on open.
 ********************************************************************/
@@ -1172,7 +1172,7 @@ NTSTATUS check_reduced_name_with_privilege(connection_struct *conn,
 
 /*******************************************************************
  Reduce a file name, removing .. elements and checking that
- it is below dir in the heirachy. This uses realpath.
+ it is below dir in the hierarchy. This uses realpath.
 
  If cwd_name == NULL then fname is a client given path relative
  to the root path of the share.
@@ -2198,7 +2198,7 @@ struct smb_vfs_ev_glue *smb_vfs_ev_glue_create(TALLOC_CTX *mem_ctx,
        }
 
        /*
-        * We now setup the glue hierachie.
+        * We now setup the glue hierarchy.
         *
         * Search for "Design of the smb_vfs_ev_glue infrastructure" above
         * for a detailed description how the chain works.