Skip to contentSkip to conversation

jfs: fix spelling mistake, EACCESS -> EACCES

PATCH In review Colin King 2 participants 2 messages Oct 26, 2018

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 jfs: fix spelling mistake, EACCESS -> EACCES

From: Colin Ian King <[email protected]>

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

---
 fs/jfs/namei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/jfs/namei.c +1 -1
index 14528c0ffe63..fa719a1553b6 100644
@@ -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)
 {
Signature · 1 line
2.19.1
#1 lore raw
Quoted 6 lines · Colin King

From: Colin Ian King <[email protected]>

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

Thanks. Pulled into the jfs tree.

Shaggy

Quoted 18 lines
---
 fs/jfs/namei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/jfs/namei.c +1 -1
index 14528c0ffe63..fa719a1553b6 100644
@@ -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)
 {