patch-2.4.26 linux-2.4.26/include/linux/lockd/debug.h
Next file: linux-2.4.26/include/linux/lockd/lockd.h
Previous file: linux-2.4.26/include/linux/jhash.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
2004-04-14 06:05:40.000000000 -0700
- Orig file:
linux-2.4.25/include/linux/lockd/debug.h
- Orig date:
2001-11-22 11:47:20.000000000 -0800
diff -urN linux-2.4.25/include/linux/lockd/debug.h linux-2.4.26/include/linux/lockd/debug.h
@@ -49,4 +49,13 @@
#define NLMDBG_ALL 0x7fff
+/*
+ * Support for printing NLM cookies in dprintk()
+ */
+#ifdef RPC_DEBUG
+struct nlm_cookie;
+/* Call this function with the BKL held (it uses a static buffer) */
+extern const char *nlmdbg_cookie2a(const struct nlm_cookie *);
+#endif
+
#endif /* LINUX_LOCKD_DEBUG_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)