Commit 8897538e authored by Weston Andros Adamson's avatar Weston Andros Adamson Committed by Trond Myklebust

nfs4: Map NFS4ERR_WRONG_CRED to EPERM

Signed-off-by: default avatarWeston Andros Adamson <dros@netapp.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 8c21c62c
...@@ -152,6 +152,7 @@ static int nfs4_map_errors(int err) ...@@ -152,6 +152,7 @@ static int nfs4_map_errors(int err)
case -NFS4ERR_RECALLCONFLICT: case -NFS4ERR_RECALLCONFLICT:
return -EREMOTEIO; return -EREMOTEIO;
case -NFS4ERR_WRONGSEC: case -NFS4ERR_WRONGSEC:
case -NFS4ERR_WRONG_CRED:
return -EPERM; return -EPERM;
case -NFS4ERR_BADOWNER: case -NFS4ERR_BADOWNER:
case -NFS4ERR_BADNAME: case -NFS4ERR_BADNAME:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment