Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143000
b: refs/heads/master
c: d6de2c8
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Apr 11, 2009
1 parent 26074a2 commit 734221c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7933a3cfba017330ebb25f9820cb25ec9cdd67cc
refs/heads/master: d6de2c80e9d758d2e36c21699117db6178c0f517
3 changes: 3 additions & 0 deletions trunk/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -2388,6 +2388,9 @@ SYSCALL_DEFINE3(init_module, void __user *, umod,
blocking_notifier_call_chain(&module_notify_list,
MODULE_STATE_LIVE, mod);

/* We need to finish all async code before the module init sequence is done */
async_synchronize_full();

mutex_lock(&module_mutex);
/* Drop initial reference. */
module_put(mod);
Expand Down

0 comments on commit 734221c

Please sign in to comment.