X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Flockd%2Fdebug.h;h=34b2b7f33c3bd57f7d9cbdaafd235cb3c0105c71;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=5b6961d739d43355eaafb9bf40294cbb3686efb4;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/linux/lockd/debug.h b/include/linux/lockd/debug.h index 5b6961d73..34b2b7f33 100644 --- a/include/linux/lockd/debug.h +++ b/include/linux/lockd/debug.h @@ -45,4 +45,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 */