NLM the cookie is always present in NLM replies and it is the first blob
parent
e01ed6a239
commit
2faefcac23
14
nlm/nlm.x
14
nlm/nlm.x
|
@ -51,18 +51,22 @@ struct nlm4_share {
|
|||
};
|
||||
|
||||
|
||||
struct nlm4_testres_ok {
|
||||
nlm_cookie cookie;
|
||||
struct nlm4_testres_denied {
|
||||
nlm4_holder holder;
|
||||
};
|
||||
|
||||
union NLM4_TESTres switch (nlmstat4 status) {
|
||||
case NLM4_GRANTED:
|
||||
nlm4_testres_ok lock;
|
||||
union nlm4_testreply switch (nlmstat4 status) {
|
||||
case NLM4_DENIED:
|
||||
nlm4_testres_denied lock;
|
||||
default:
|
||||
void;
|
||||
};
|
||||
|
||||
struct NLM4_TESTres {
|
||||
nlm_cookie cookie;
|
||||
nlm4_testreply reply;
|
||||
};
|
||||
|
||||
struct NLM4_TESTargs {
|
||||
nlm_cookie cookie;
|
||||
bool exclusive;
|
||||
|
|
Loading…
Reference in New Issue