projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c21c62
)
nfs4: Map NFS4ERR_WRONG_CRED to EPERM
author
Weston Andros Adamson
<dros@netapp.com>
Tue, 13 Aug 2013 20:37:38 +0000
(16:37 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 5 Sep 2013 14:51:22 +0000
(10:51 -0400)
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index e3cdfe346ebc1f73a6a38707cb2de0fc1f47a1b6..cb56102ad40e7a2ce272ec3ce3929f84e8c1ec38 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-152,6
+152,7
@@
static int nfs4_map_errors(int err)
case -NFS4ERR_RECALLCONFLICT:
return -EREMOTEIO;
case -NFS4ERR_WRONGSEC:
+ case -NFS4ERR_WRONG_CRED:
return -EPERM;
case -NFS4ERR_BADOWNER:
case -NFS4ERR_BADNAME: