]>
Commit | Line | Data |
---|---|---|
82094b55 AF |
1 | Subject: enable extended dlm debugging |
2 | From: Lars Marovsky-Bree <lmb@suse.de> | |
3 | ||
4 | This patch enable extended dlm debugging | |
5 | ||
6 | Signed-off-by: Lars Marovsky-Bree <lmb@suse.de> | |
7 | --- | |
8 | Index: fs/dlm/Makefile | |
9 | =================================================================== | |
10 | --- a/fs/dlm/Makefile | |
11 | +++ b/fs/dlm/Makefile | |
12 | @@ -16,6 +16,6 @@ dlm-y := ast.o \ | |
13 | recoverd.o \ | |
14 | requestqueue.o \ | |
15 | user.o \ | |
16 | - util.o | |
17 | -dlm-$(CONFIG_DLM_DEBUG) += debug_fs.o | |
18 | + util.o \ | |
19 | + debug_fs.o | |
20 | ||
21 | Index: fs/dlm/dlm_internal.h | |
22 | =================================================================== | |
23 | --- a/fs/dlm/dlm_internal.h | |
24 | +++ b/fs/dlm/dlm_internal.h | |
25 | @@ -587,6 +587,7 @@ void dlm_timeout_warn(struct dlm_lkb *lk | |
26 | int dlm_plock_init(void); | |
27 | void dlm_plock_exit(void); | |
28 | ||
29 | +#define CONFIG_DLM_DEBUG 1 | |
30 | #ifdef CONFIG_DLM_DEBUG | |
31 | int dlm_register_debugfs(void); | |
32 | void dlm_unregister_debugfs(void); |