summaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.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/inode.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 '')
-rw-r--r--fs/cifs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 1023d78673fb..a81a9df997c1 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -1320,8 +1320,8 @@ cifs_drop_nlink(struct inode *inode)
/*
* If d_inode(dentry) is null (usually meaning the cached dentry
* is a negative dentry) then we would attempt a standard SMB delete, but
- * if that fails we can not attempt the fall back mechanisms on EACCESS
- * but will return the EACCESS to the caller. Note that the VFS does not call
+ * if that fails we can not attempt the fall back mechanisms on EACCES
+ * but will return the EACCES to the caller. Note that the VFS does not call
* unlink on negative dentries currently.
*/
int cifs_unlink(struct inode *dir, struct dentry *dentry)