diff options
author | Weston Andros Adamson <dros@netapp.com> | 2013-08-13 16:37:38 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-09-05 10:51:22 -0400 |
commit | 8897538e97ed80570f6e3befc41ca0288b776799 (patch) | |
tree | 828691e61509fe0bb428ee22ff814e9c9e154d60 | |
parent | 8c21c62c4452f4e66c3dac9b3f6b74474fad3e08 (diff) |
nfs4: Map NFS4ERR_WRONG_CRED to EPERM
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index e3cdfe346ebc..cb56102ad40e 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -152,6 +152,7 @@ static int nfs4_map_errors(int err) | |||
152 | case -NFS4ERR_RECALLCONFLICT: | 152 | case -NFS4ERR_RECALLCONFLICT: |
153 | return -EREMOTEIO; | 153 | return -EREMOTEIO; |
154 | case -NFS4ERR_WRONGSEC: | 154 | case -NFS4ERR_WRONGSEC: |
155 | case -NFS4ERR_WRONG_CRED: | ||
155 | return -EPERM; | 156 | return -EPERM; |
156 | case -NFS4ERR_BADOWNER: | 157 | case -NFS4ERR_BADOWNER: |
157 | case -NFS4ERR_BADNAME: | 158 | case -NFS4ERR_BADNAME: |