diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-05-27 14:21:32 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-07-03 23:52:09 +0200 |
commit | e977cc8308620c4839a8bd4069625f93c458a586 (patch) | |
tree | 655f8028ac2d8a3ef1b5699b5367c73d7440c049 | |
parent | lockd: Make two symbols static (diff) | |
download | linux-e977cc8308620c4839a8bd4069625f93c458a586.tar.xz linux-e977cc8308620c4839a8bd4069625f93c458a586.zip |
nfsd: Spelling s/EACCESS/EACCES/
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>
-rw-r--r-- | fs/nfsd/vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index fc24ee47eab5..c85783e536d5 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). */ |