nfs4: Partial handling of NFS4ERR_LEASE_MOVED error
This commit is contained in:
parent
9737896827
commit
684d0a1036
@ -1221,6 +1221,11 @@ Inode::_HandleErrors(uint32 nfs4Error, RPC::Server* serv,
|
||||
fFilesystem->Migrate(fHandle, serv);
|
||||
return true;
|
||||
|
||||
// lease has been moved, provoke server to return NFS4ERR_MOVED
|
||||
case NFS4ERR_LEASE_MOVED:
|
||||
Access(0);
|
||||
return true;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
@ -271,6 +271,7 @@ NFS4Server::_Renewal()
|
||||
|
||||
if (request.Reply().NFS4Error() == NFS4ERR_STALE_CLIENTID)
|
||||
ServerRebooted(clientId);
|
||||
// TODO: support NFS4ERR_LEASE_MOVED
|
||||
}
|
||||
|
||||
return B_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user