Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201328
b: refs/heads/master
c: b82bab4
h: refs/heads/master
v: v3
  • Loading branch information
Jason Baron authored and Linus Torvalds committed Jul 27, 2010
1 parent 1ccd7d5 commit e23ab95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d15aa2cc641bd193596382357de917b32f1b40cb
refs/heads/master: b82bab4bbe9efa7bc7177fc20620fff19bd95484
4 changes: 3 additions & 1 deletion trunk/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,6 @@ SYSCALL_DEFINE2(delete_module, const char __user *, name_user,

/* Store the name of the last unloaded module for diagnostic purposes */
strlcpy(last_unloaded_module, mod->name, sizeof(last_unloaded_module));
ddebug_remove_module(mod->name);

free_module(mod);
return 0;
Expand Down Expand Up @@ -1550,6 +1549,9 @@ static void free_module(struct module *mod)
remove_sect_attrs(mod);
mod_kobject_remove(mod);

/* Remove dynamic debug info */
ddebug_remove_module(mod->name);

/* Arch-specific cleanup. */
module_arch_cleanup(mod);

Expand Down

0 comments on commit e23ab95

Please sign in to comment.