diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 717aa0e3be2d..e7a6dcacefc1 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -2719,7 +2719,7 @@ void print_vma_addr(char *prefix, unsigned long ip) | |||
2719 | if (buf) { | 2719 | if (buf) { |
2720 | char *p, *s; | 2720 | char *p, *s; |
2721 | 2721 | ||
2722 | p = d_path(f->f_dentry, f->f_vfsmnt, buf, PAGE_SIZE); | 2722 | p = d_path(&f->f_path, buf, PAGE_SIZE); |
2723 | if (IS_ERR(p)) | 2723 | if (IS_ERR(p)) |
2724 | p = "?"; | 2724 | p = "?"; |
2725 | s = strrchr(p, '/'); | 2725 | s = strrchr(p, '/'); |