patch-2.4.26 linux-2.4.26/include/linux/lockd/xdr.h
Next file: linux-2.4.26/include/linux/module.h
Previous file: linux-2.4.26/include/linux/lockd/lockd.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
2004-04-14 06:05:40.000000000 -0700
- Orig file:
linux-2.4.25/include/linux/lockd/xdr.h
- Orig date:
2001-11-22 11:47:20.000000000 -0800
diff -urN linux-2.4.25/include/linux/lockd/xdr.h linux-2.4.26/include/linux/lockd/xdr.h
@@ -33,14 +33,15 @@
};
/*
- * NLM cookies. Technically they can be 1K, Nobody uses over 8 bytes
- * however.
+ * NLM cookies. Technically they can be 1K, Few people use over 8 bytes,
+ * FreeBSD uses 16, Apple Mac OS-X 10.3 uses 20.
*/
struct nlm_cookie
{
- unsigned char data[8];
unsigned int len;
+#define NLM_MAXCOOKIELEN 32
+ unsigned char data[NLM_MAXCOOKIELEN];
};
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)