diff options
Diffstat (limited to 'fs/dlm/debug_fs.c')
-rw-r--r-- | fs/dlm/debug_fs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c index 1c8bb8c3a82e..c6cf25158746 100644 --- a/fs/dlm/debug_fs.c +++ b/fs/dlm/debug_fs.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <linux/ctype.h> | 16 | #include <linux/ctype.h> |
17 | #include <linux/debugfs.h> | 17 | #include <linux/debugfs.h> |
18 | #include <linux/slab.h> | ||
18 | 19 | ||
19 | #include "dlm_internal.h" | 20 | #include "dlm_internal.h" |
20 | #include "lock.h" | 21 | #include "lock.h" |
@@ -256,7 +257,7 @@ static int print_format3_lock(struct seq_file *s, struct dlm_lkb *lkb, | |||
256 | lkb->lkb_status, | 257 | lkb->lkb_status, |
257 | lkb->lkb_grmode, | 258 | lkb->lkb_grmode, |
258 | lkb->lkb_rqmode, | 259 | lkb->lkb_rqmode, |
259 | lkb->lkb_highbast, | 260 | lkb->lkb_bastmode, |
260 | rsb_lookup, | 261 | rsb_lookup, |
261 | lkb->lkb_wait_type, | 262 | lkb->lkb_wait_type, |
262 | lkb->lkb_lvbseq, | 263 | lkb->lkb_lvbseq, |
@@ -404,7 +405,7 @@ static void *table_seq_start(struct seq_file *seq, loff_t *pos) | |||
404 | if (bucket >= ls->ls_rsbtbl_size) | 405 | if (bucket >= ls->ls_rsbtbl_size) |
405 | return NULL; | 406 | return NULL; |
406 | 407 | ||
407 | ri = kzalloc(sizeof(struct rsbtbl_iter), GFP_KERNEL); | 408 | ri = kzalloc(sizeof(struct rsbtbl_iter), GFP_NOFS); |
408 | if (!ri) | 409 | if (!ri) |
409 | return NULL; | 410 | return NULL; |
410 | if (n == 0) | 411 | if (n == 0) |