OSDN Git Service

nfsd: Spelling s/EACCESS/EACCES/
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 27 May 2019 12:21:32 +0000 (14:21 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Jul 2019 21:52:09 +0000 (17:52 -0400)
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>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c

index fc24ee4..c85783e 100644 (file)
@@ -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).
         */