linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [trivial] nfsd: Spelling s/EACCESS/EACCES/
@ 2019-05-27 12:21 Geert Uytterhoeven
  2019-05-31 13:36 ` J . Bruce Fields
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2019-05-27 12:21 UTC (permalink / raw)
  To: J . Bruce Fields, Jeff Layton, Jiri Kosina
  Cc: linux-nfs, linux-kernel, Geert Uytterhoeven

The correct spelling is EACCES:

include/uapi/asm-generic/errno-base.h:#define EACCES 13 /* Permission denied */

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 fs/nfsd/vfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
index fc24ee47eab51ad4..c85783e536d595de 100644
--- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -404,7 +404,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap,
 	/*
 	 * If utimes(2) and friends are called with times not NULL, we should
 	 * not set NFSD_MAY_WRITE bit. Otherwise fh_verify->nfsd_permission
-	 * will return EACCESS, when the caller's effective UID does not match
+	 * will return EACCES, when the caller's effective UID does not match
 	 * the owner of the file, and the caller is not privileged. In this
 	 * situation, we should return EPERM(notify_change will return this).
 	 */
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [trivial] nfsd: Spelling s/EACCESS/EACCES/
  2019-05-27 12:21 [PATCH] [trivial] nfsd: Spelling s/EACCESS/EACCES/ Geert Uytterhoeven
@ 2019-05-31 13:36 ` J . Bruce Fields
  0 siblings, 0 replies; 2+ messages in thread
From: J . Bruce Fields @ 2019-05-31 13:36 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Jeff Layton, Jiri Kosina, linux-nfs, linux-kernel

Thanks, applying for 5.3.--b.

On Mon, May 27, 2019 at 02:21:32PM +0200, Geert Uytterhoeven wrote:
> The correct spelling is EACCES:
> 
> include/uapi/asm-generic/errno-base.h:#define EACCES 13 /* Permission denied */
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  fs/nfsd/vfs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
> index fc24ee47eab51ad4..c85783e536d595de 100644
> --- a/fs/nfsd/vfs.c
> +++ b/fs/nfsd/vfs.c
> @@ -404,7 +404,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap,
>  	/*
>  	 * If utimes(2) and friends are called with times not NULL, we should
>  	 * not set NFSD_MAY_WRITE bit. Otherwise fh_verify->nfsd_permission
> -	 * will return EACCESS, when the caller's effective UID does not match
> +	 * will return EACCES, when the caller's effective UID does not match
>  	 * the owner of the file, and the caller is not privileged. In this
>  	 * situation, we should return EPERM(notify_change will return this).
>  	 */
> -- 
> 2.17.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-31 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27 12:21 [PATCH] [trivial] nfsd: Spelling s/EACCESS/EACCES/ Geert Uytterhoeven
2019-05-31 13:36 ` J . Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).