nfs4: Remove assertion against NFS4ERR_NOFILEHANDLE
According to the NFS4 specification NFS4ERR_NOFILEHANDLE is returned only when the clients sends malformed request. FreeBSD nfsd implementation chooses to ignore that fact and returns this error code also for correctly formed requests that it can not service due to the restrictions in the server configuration.
This commit is contained in:
@@ -32,7 +32,6 @@ NFS4Object::HandleErrors(uint32& attempt, uint32 nfs4Error, RPC::Server* server,
|
||||
{
|
||||
// No request send by the client should cause any of the following errors.
|
||||
ASSERT(nfs4Error != NFS4ERR_CLID_INUSE);
|
||||
ASSERT(nfs4Error != NFS4ERR_NOFILEHANDLE);
|
||||
ASSERT(nfs4Error != NFS4ERR_BAD_STATEID);
|
||||
ASSERT(nfs4Error != NFS4ERR_RESTOREFH);
|
||||
ASSERT(nfs4Error != NFS4ERR_LOCKS_HELD);
|
||||
|
||||
Reference in New Issue
Block a user