Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17011
b: refs/heads/master
c: eb46996
h: refs/heads/master
i:
  17009: 2926412
  17007: ba66f4a
v: v3
  • Loading branch information
Ashutosh Naik authored and Linus Torvalds committed Jan 9, 2006
1 parent 77fb23f commit daee928
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 349aef0bc4c7f07d685c977e12d0e2d0b5d0e6db
refs/heads/master: eb46996f90a0826921f1a0d81535537a9c7f91b0
2 changes: 0 additions & 2 deletions trunk/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -958,15 +958,13 @@ static unsigned long resolve_symbol(Elf_Shdr *sechdrs,
unsigned long ret;
const unsigned long *crc;

spin_lock_irq(&modlist_lock);
ret = __find_symbol(name, &owner, &crc, mod->license_gplok);
if (ret) {
/* use_module can fail due to OOM, or module unloading */
if (!check_version(sechdrs, versindex, name, mod, crc) ||
!use_module(mod, owner))
ret = 0;
}
spin_unlock_irq(&modlist_lock);
return ret;
}

Expand Down

0 comments on commit daee928

Please sign in to comment.