From: Michael Adam Date: Mon, 20 Aug 2018 10:04:20 +0000 (+0200) Subject: smbd:vfs: fix mis-spellings of hierarchy in comments X-Git-Tag: tdb-1.3.17~1646 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0993141c55ad788c5f9de3b96a6ddeca6bfbc453;p=thirdparty%2Fsamba.git smbd:vfs: fix mis-spellings of hierarchy in comments Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Sep 12 02:05:47 CEST 2018 on sn-devel-144 --- diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index a6c49cfad34..28ebfc92dc7 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -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.