CIFS: Spelling s/EACCESS/EACCES/
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 5 May 2020 13:43:35 +0000 (15:43 +0200)
committerSteve French <stfrench@microsoft.com>
Wed, 6 May 2020 15:21:40 +0000 (10:21 -0500)
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@glider.be>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/inode.c

index 390d2b1..5d2965a 100644 (file)
@@ -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