summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:19:15 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:19:15 -0800
commit269f8f707739116e68aee38d78d0cfb3d896b856 (patch)
tree996aa137f057a796dd99a172a1b90e5e2bd4f6be /kernel
parenta27c6530ff12bab100e64c5b43e84f759fa353ae (diff)
v2.4.9.13 -> v2.4.9.14
- Richard Gooch: devfs update - Andrea Arcangeli: clean up/fix ramdisk handling now that it's in page cache - Al Viro: follow up the above with initrd cleanups - Keith Owens: get rid of drivers/scsi/53c700-mem.c file - Trond Myklebust: RPC over TCP race fix - Greg KH: USB update (ohci understands USB_ZERO_PACKET) - me: clean up reference bit handling, fix silly GFP_ATOMIC allocation bug
Diffstat (limited to 'kernel')
-rw-r--r--kernel/exec_domain.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/exec_domain.c b/kernel/exec_domain.c
index 729be6df82be..e8437d7987a4 100644
--- a/kernel/exec_domain.c
+++ b/kernel/exec_domain.c
@@ -86,19 +86,18 @@ lookup_exec_domain(u_long personality)
if (try_inc_mod_count(ep->module))
goto out;
}
- read_unlock(&exec_domains_lock);
#ifdef CONFIG_KMOD
+ read_unlock(&exec_domains_lock);
sprintf(buffer, "personality-%ld", pers);
request_module(buffer);
-
read_lock(&exec_domains_lock);
+
for (ep = exec_domains; ep; ep = ep->next) {
if (pers >= ep->pers_low && pers <= ep->pers_high)
if (try_inc_mod_count(ep->module))
goto out;
}
- read_unlock(&exec_domains_lock);
#endif
ep = &default_exec_domain;