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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux