[PATCH] smbd: fix mis-spellings of "hierarchy" in vfs.c

Jeremy Allison jra at samba.org
Tue Sep 11 17:23:09 UTC 2018


On Tue, Sep 11, 2018 at 09:09:12AM +0200, Michael Adam via samba-technical wrote:
> See attached.
> 
> Review/push appreciated.

RB+. Obvious patch is obvious :-).

> From 22991b699d54f6f12f8e3ebce3327459dba06213 Mon Sep 17 00:00:00 2001
> From: Michael Adam <obnox at samba.org>
> Date: Mon, 20 Aug 2018 12:04:20 +0200
> Subject: [PATCH] smbd:vfs: fix mis-spellings of hierarchy in comments
> 
> Signed-off-by: Michael Adam <obnox at samba.org>
> ---
>  source3/smbd/vfs.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> 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.
> -- 
> 2.14.4
> 






More information about the samba-technical mailing list