forked from Minki/linux
gru: fix bug in module unload
Fix bug in module unload. Previous code was not correctly deleting the files in /proc. Signed-off-by: Jack Steiner <steiner@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
99f7c229b3
commit
f2965d68b6
@ -351,7 +351,7 @@ static void delete_proc_files(void)
|
|||||||
for (p = proc_files; p->name; p++)
|
for (p = proc_files; p->name; p++)
|
||||||
if (p->entry)
|
if (p->entry)
|
||||||
remove_proc_entry(p->name, proc_gru);
|
remove_proc_entry(p->name, proc_gru);
|
||||||
remove_proc_entry("gru", NULL);
|
remove_proc_entry("gru", proc_gru->parent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user