NLM_GRANTED_RES - Lock Granted Result
-
-
struct nlm_res {
netobj cookie;
nlm_stat stat;
};
None.
-
-
void
NLM_GRANTED_RES(nlm_res) = 15;
This procedure is one of the asynchronous RPCs. Unlike the other asynchronous calls it is called by the client (not the server). With this call, the client provides the return values for the NLM_GRANTED_MSG procedure, previously called by the server.
See NLM_LOCK_MSG for more information.
The client must send the nlm_res structure to the server with "stat" set to one of the following values:
- LCK_GRANTED
- Indicates that the procedure completed successfully.
- LCK_DENIED
- Indicates that the procedure failed, possibly due to the client not being able to match "alock" from the NLM_GRANTED_MSG call with any outstanding lock requests or lack of internal resources.
- LCK_DENIED_GRACE_PERIOD
Indicates that the procedure failed because the client host (the host making the lock request) has recently been rebooted and its NLM is re-establishing existing locks and is not yet ready to accept normal service requests.
Contents | Next section | Index |