summaryrefslogtreecommitdiffstats
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-10-26 20:07:21 +0200
committerSteve French <stfrench@microsoft.com>2018-11-02 20:09:41 +0100
commit413d61008131c8ea22312164ba498075ce2fccc8 (patch)
treeb67e6fa27f94d505eb75e87d57d183acfd34fe61 /fs/cifs/file.c
parentcifs: fix return value for cifs_listxattr (diff)
downloadlinux-413d61008131c8ea22312164ba498075ce2fccc8.tar.xz
linux-413d61008131c8ea22312164ba498075ce2fccc8.zip
cifs: fix spelling mistake, EACCESS -> EACCES
Trivial fix to a spelling mistake of the error access name EACCESS, rename to EACCES Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r--fs/cifs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index e262a05a98bf..542d8828e1d0 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -1005,7 +1005,7 @@ cifs_lock_add(struct cifsFileInfo *cfile, struct cifsLockInfo *lock)
* Set the byte-range lock (mandatory style). Returns:
* 1) 0, if we set the lock and don't need to request to the server;
* 2) 1, if no locks prevent us but we need to request to the server;
- * 3) -EACCESS, if there is a lock that prevents us and wait is false.
+ * 3) -EACCES, if there is a lock that prevents us and wait is false.
*/
static int
cifs_lock_add_if(struct cifsFileInfo *cfile, struct cifsLockInfo *lock,