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:
c880fda
)
NLM: add UNLOCK call
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 10 Mar 2012 11:36:26 +0000
(22:36 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 10 Mar 2012 11:36:26 +0000
(22:36 +1100)
nlm/nlm.x
patch
|
blob
|
blame
|
history
diff --git
a/nlm/nlm.x
b/nlm/nlm.x
index bcbed9cfe96574eccae2f4eb25686f3a1954cdb8..19fe65dfbeb607168eab190365c5406edc9af4a1 100644
(file)
--- a/
nlm/nlm.x
+++ b/
nlm/nlm.x
@@
-84,6
+84,16
@@
struct NLM4_CANCargs {
nlm4_lock lock;
};
nlm4_lock lock;
};
+struct NLM4_UNLOCKres {
+ nlm_cookie cookie;
+ nlmstat4 status;
+};
+
+struct NLM4_UNLOCKargs {
+ nlm_cookie cookie;
+ nlm4_lock lock;
+};
+
program NLM_PROGRAM {
version NLM_V4 {
void
program NLM_PROGRAM {
version NLM_V4 {
void
@@
-98,8
+108,8
@@
program NLM_PROGRAM {
NLM4_CANCres
NLM4_CANCEL(NLM4_CANCargs) = 3;
NLM4_CANCres
NLM4_CANCEL(NLM4_CANCargs) = 3;
-/* nlm4_res */
-/* NLM4_UNLOCK(nlm4_unlockargs) = 4; */
+ NLM4_UNLOCKres
+ NLM4_UNLOCK(NLM4_UNLOCKargs) = 4;
/* nlm4_res */
/* NLM4_GRANTED(nlm4_testargs) = 5; */
/* nlm4_res */
/* NLM4_GRANTED(nlm4_testargs) = 5; */
@@
-113,8
+123,8
@@
program NLM_PROGRAM {
void
NLM4_CANCEL_MSG(NLM4_CANCargs) = 8;
void
NLM4_CANCEL_MSG(NLM4_CANCargs) = 8;
-/* void */
-/* NLM4_UNLOCK_MSG(nlm4_unlockargs) = 9; */
+ void
+ NLM4_UNLOCK_MSG(NLM4_UNLOCKargs) = 9;
/* void */
/* NLM4_GRANTED_MSG(nlm4_testargs) = 10; */
/* void */
/* NLM4_GRANTED_MSG(nlm4_testargs) = 10; */
@@
-128,8
+138,8
@@
program NLM_PROGRAM {
void
NLM4_CANCEL_RES(NLM4_CANCres) = 13;
void
NLM4_CANCEL_RES(NLM4_CANCres) = 13;
-/* void */
-/* NLM4_UNLOCK_RES(nlm4_res) = 14; */
+ void
+ NLM4_UNLOCK_RES(NLM4_UNLOCKres) = 14;
/* void */
/* NLM4_GRANTED_RES(nlm4_res) = 15; */
/* void */
/* NLM4_GRANTED_RES(nlm4_res) = 15; */