Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ebf3656 authored by Manoj Naik's avatar Manoj Naik Committed by Trond Myklebust
Browse files

[PATCH] NFSv4: Map a couple of NFSv4 errors to EINVAL.



 This shows up on running tar over NFSv4.

 Signed-off-by: default avatarManoj Naik <manoj@almaden.ibm.com>
 Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 97d312d0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4109,6 +4109,8 @@ static struct {
	{ NFS4ERR_DQUOT,	EDQUOT		},
	{ NFS4ERR_STALE,	ESTALE		},
	{ NFS4ERR_BADHANDLE,	EBADHANDLE	},
	{ NFS4ERR_BADOWNER,	EINVAL		},
	{ NFS4ERR_BADNAME,	EINVAL		},
	{ NFS4ERR_BAD_COOKIE,	EBADCOOKIE	},
	{ NFS4ERR_NOTSUPP,	ENOTSUPP	},
	{ NFS4ERR_TOOSMALL,	ETOOSMALL	},