NLM the cookie is always present in NLM replies and it is the first blob

libnfs-4.0.0-vitalif
Ronnie Sahlberg 2012-03-10 22:19:06 +11:00
parent e01ed6a239
commit 2faefcac23
1 changed files with 9 additions and 5 deletions

View File

@ -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;