2018-10-26 18:09:50

by Colin King

[permalink] [raw]
Subject: [PATCH] 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

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



2018-10-26 18:25:38

by Dave Kleikamp

[permalink] [raw]
Subject: Re: [PATCH] jfs: fix spelling mistake, EACCESS -> EACCES

On 10/26/18 1:09 PM, Colin King wrote:
> 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]>

Thanks. Pulled into the jfs tree.

Shaggy

> ---
> 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)
> {
>