aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 30f6548f2b9..b7a7e5fe401 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -94,6 +94,8 @@ static int nfs4_map_errors(int err)
94 case -NFS4ERR_BADOWNER: 94 case -NFS4ERR_BADOWNER:
95 case -NFS4ERR_BADNAME: 95 case -NFS4ERR_BADNAME:
96 return -EINVAL; 96 return -EINVAL;
97 case -NFS4ERR_SHARE_DENIED:
98 return -EACCES;
97 default: 99 default:
98 dprintk("%s could not handle NFSv4 error %d\n", 100 dprintk("%s could not handle NFSv4 error %d\n",
99 __func__, -err); 101 __func__, -err);