diff options
Diffstat (limited to 'fs/proc/vmcore.c')
-rw-r--r-- | fs/proc/vmcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index 38edddc25816..17f7e080d7ff 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c | |||
@@ -699,7 +699,7 @@ void vmcore_cleanup(void) | |||
699 | struct list_head *pos, *next; | 699 | struct list_head *pos, *next; |
700 | 700 | ||
701 | if (proc_vmcore) { | 701 | if (proc_vmcore) { |
702 | remove_proc_entry(proc_vmcore->name, proc_vmcore->parent); | 702 | proc_remove(proc_vmcore); |
703 | proc_vmcore = NULL; | 703 | proc_vmcore = NULL; |
704 | } | 704 | } |
705 | 705 | ||