[PATCH] jfs: fix spelling mistake, EACCESS -> EACCES

Colin King <[email protected]> Fri, 26 Oct 2018 19:09:09 +0100
Newsgroups gmane.comp.file-systems.jfs.general
Message-ID <20181026180909.5249-1-colin.king__30755.3893224851$1540577239$gmane$org@canonical.com>
From: Colin Ian King <[email protected]>

Trivial fix to a spelling mistake of the error access name EACCESS,
rename to EACCES

Signed-off-by: Colin Ian King <[email protected]>
---
 fs/jfs/namei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c
index 14528c0ffe63..fa719a1553b6 100644
--- a/fs/jfs/namei.c
+++ b/fs/jfs/namei.c
@@ -203,7 +203,7 @@ static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode,
  * RETURN:	Errors from subroutines
  *
  * note:
- * EACCESS: user needs search+write permission on the parent directory
+ * EACCES: user needs search+write permission on the parent directory
  */
 static int jfs_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode)
 {
-- 
2.19.1