repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e01ed6a
)
NLM the cookie is always present in NLM replies and it is the first blob
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 10 Mar 2012 11:19:06 +0000
(22:19 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 10 Mar 2012 11:19:06 +0000
(22:19 +1100)
nlm/nlm.x
patch
|
blob
|
blame
|
history
diff --git
a/nlm/nlm.x
b/nlm/nlm.x
index e8a28804fe5cf3b691891885565afaf94880534e..fb0d0613080e6b1314f59534d8c2d1336295a34e 100644
(file)
--- a/
nlm/nlm.x
+++ b/
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_
GRANT
ED:
- nlm4_testres_
ok
lock;
+union
nlm4_testreply
switch (nlmstat4 status) {
+ case NLM4_
DENI
ED:
+ nlm4_testres_
denied
lock;
default:
void;
};
+struct NLM4_TESTres {
+ nlm_cookie cookie;
+ nlm4_testreply reply;
+};
+
struct NLM4_TESTargs {
nlm_cookie cookie;
bool exclusive;