diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index af2db2c49c5fb24367e86e272a4fb32124e71d1e..42d9e9ca7d2fbe22af780544eb86b4d40ce3f31a 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -103,6 +103,8 @@ static int nfs4_map_errors(int err) case -NFS4ERR_BADOWNER: case -NFS4ERR_BADNAME: return -EINVAL; + case -NFS4ERR_SHARE_DENIED: + return -EACCES; default: dprintk("%s could not handle NFSv4 error %d\n", __func__, -err);