Re: [PATCH trivial] CIFS: Spelling s/EACCESS/EACCES/

From: Steve French
Date: Wed May 06 2020 - 11:23:55 EST


merged into cifs-2.6.git for-next

On Tue, May 5, 2020 at 8:49 AM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:
>
> As per POSIX, the correct spelling is EACCES:
>
> include/uapi/asm-generic/errno-base.h:#define EACCES 13 /* Permission denied */
>
> Fixes: b8f7442bc46e48fb ("CIFS: refactor cifs_get_inode_info()")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
> fs/cifs/inode.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
> index 390d2b15ef6ef9d7..5d2965a2373054a4 100644
> --- a/fs/cifs/inode.c
> +++ b/fs/cifs/inode.c
> @@ -730,7 +730,7 @@ static __u64 simple_hashstr(const char *str)
> * cifs_backup_query_path_info - SMB1 fallback code to get ino
> *
> * Fallback code to get file metadata when we don't have access to
> - * @full_path (EACCESS) and have backup creds.
> + * @full_path (EACCES) and have backup creds.
> *
> * @data will be set to search info result buffer
> * @resp_buf will be set to cifs resp buf and needs to be freed with
> --
> 2.17.1
>


--
Thanks,

Steve