NLM_UNSHARE - Unshare a File
-
-
struct nlm_shareargs {
netobj cookie;
nlm_share share; /* actual share data */
bool reclaim; /* used for recovering shares */
};
-
-
struct nlm_shareres {
netobj cookie;
nlm_stats stat;
int sequence;
};
-
-
nlm_shareres
NLM_UNSHARE(nlm_shareargs) = 21;
This procedure informs the NLM that the client has closed the file "share.fh". The server will release the corresponding share reservation. The "reclaim" field is unused in this procedure and is ignored. It is included for symmetry with the NLM_SHARE procedure.
When the procedure returns, "stat" will be set to one of the following values:
- LCK_GRANTED
- Indicates that the procedure completed successfully.
- LCK_DENIED_GRACE_PERIOD
Indicates that the procedure failed because the server host has recently been rebooted and the server NLM is re-establishing existing locks, and is not yet ready to accept normal service requests.
Contents | Next section | Index |