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:
8d3c1af
)
NLM add NLM4 LOCK definition to the rpc file
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 10 Mar 2012 11:43:47 +0000
(22:43 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 10 Mar 2012 11:43:47 +0000
(22:43 +1100)
nlm/nlm.x
patch
|
blob
|
blame
|
history
diff --git
a/nlm/nlm.x
b/nlm/nlm.x
index 19fe65dfbeb607168eab190365c5406edc9af4a1..9d728d3e1e3846d82e766f854ecb601f1e2bd094 100644
(file)
--- a/
nlm/nlm.x
+++ b/
nlm/nlm.x
@@
-94,6
+94,20
@@
struct NLM4_UNLOCKargs {
nlm4_lock lock;
};
nlm4_lock lock;
};
+struct NLM4_LOCKres {
+ nlm_cookie cookie;
+ nlmstat4 status;
+};
+
+struct NLM4_LOCKargs {
+ nlm_cookie cookie;
+ bool block;
+ bool exclusive;
+ nlm4_lock lock;
+ bool reclaim;
+ int state;
+};
+
program NLM_PROGRAM {
version NLM_V4 {
void
program NLM_PROGRAM {
version NLM_V4 {
void
@@
-102,8
+116,8
@@
program NLM_PROGRAM {
NLM4_TESTres
NLM4_TEST(NLM4_TESTargs) = 1;
NLM4_TESTres
NLM4_TEST(NLM4_TESTargs) = 1;
-/* nlm4_res */
-/* NLM4_LOCK(nlm4_lockargs) = 2; */
+ NLM4_LOCKres
+ NLM4_LOCK(NLM4_LOCKargs) = 2;
NLM4_CANCres
NLM4_CANCEL(NLM4_CANCargs) = 3;
NLM4_CANCres
NLM4_CANCEL(NLM4_CANCargs) = 3;
@@
-117,8
+131,8
@@
program NLM_PROGRAM {
void
NLM4_TEST_MSG(NLM4_TESTargs) = 6;
void
NLM4_TEST_MSG(NLM4_TESTargs) = 6;
-/* void */
-/* NLM4_LOCK_MSG(nlm4_lockargs) = 7; */
+ void
+ NLM4_LOCK_MSG(NLM4_LOCKargs) = 7;
void
NLM4_CANCEL_MSG(NLM4_CANCargs) = 8;
void
NLM4_CANCEL_MSG(NLM4_CANCargs) = 8;
@@
-132,8
+146,8
@@
program NLM_PROGRAM {
void
NLM4_TEST_RES(NLM4_TESTres) = 11;
void
NLM4_TEST_RES(NLM4_TESTres) = 11;
-/* void */
-/* NLM4_LOCK_RES(nlm4_res) = 12; */
+ void
+ NLM4_LOCK_RES(NLM4_LOCKres) = 12;
void
NLM4_CANCEL_RES(NLM4_CANCres) = 13;
void
NLM4_CANCEL_RES(NLM4_CANCres) = 13;