projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99f7c22
)
gru: fix bug in module unload
author
Jack Steiner
<steiner@sgi.com>
Wed, 16 Dec 2009 00:48:06 +0000
(16:48 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:15 +0000
(07:20 -0800)
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>
drivers/misc/sgi-gru/gruprocfs.c
patch
|
blob
|
history
diff --git
a/drivers/misc/sgi-gru/gruprocfs.c
b/drivers/misc/sgi-gru/gruprocfs.c
index a8a2e760cca31e02a865f2da00e39133cabe52ed..4f6fc11a2637905d1796c07e116a2fafb392818a 100644
(file)
--- a/
drivers/misc/sgi-gru/gruprocfs.c
+++ b/
drivers/misc/sgi-gru/gruprocfs.c
@@
-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
);
}
}