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

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)