patch-2.2.2 linux/include/linux/lockd/xdr.h
Next file: linux/include/linux/sched.h
Previous file: linux/include/linux/lockd/lockd.h
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Mon Feb 22 14:50:53 1999
- Orig file:
v2.2.1/linux/include/linux/lockd/xdr.h
- Orig date:
Fri Jul 31 17:10:16 1998
diff -u --recursive --new-file v2.2.1/linux/include/linux/lockd/xdr.h linux/include/linux/lockd/xdr.h
@@ -25,10 +25,21 @@
};
/*
+ * NLM cookies. Technically they can be 1K, Nobody uses over 8 bytes
+ * however.
+ */
+
+struct nlm_cookie
+{
+ unsigned char data[8];
+ unsigned int len;
+};
+
+/*
* Generic lockd arguments for all but sm_notify
*/
struct nlm_args {
- u32 cookie;
+ struct nlm_cookie cookie;
struct nlm_lock lock;
u32 block;
u32 reclaim;
@@ -42,7 +53,7 @@
* Generic lockd result
*/
struct nlm_res {
- u32 cookie;
+ struct nlm_cookie cookie;
u32 status;
struct nlm_lock lock;
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)