提交 f2965d68 编写于 作者: J Jack Steiner 提交者: Linus Torvalds

gru: fix bug in module unload

Fix bug in module unload.  Previous code was not correctly deleting the
files in /proc.
Signed-off-by: NJack Steiner <steiner@sgi.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 99f7c229
......@@ -351,7 +351,7 @@ static void delete_proc_files(void)
for (p = proc_files; p->name; p++)
if (p->entry)
remove_proc_entry(p->name, proc_gru);
remove_proc_entry("gru", NULL);
remove_proc_entry("gru", proc_gru->parent);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册