patch-2.4.0-test9 linux/kernel/sys.c
Next file: linux/kernel/sysctl.c
Previous file: linux/kernel/softirq.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Mon Sep 11 08:48:53 2000
- Orig file:
v2.4.0-test8/linux/kernel/sys.c
- Orig date:
Wed Aug 9 18:59:17 2000
diff -u --recursive --new-file v2.4.0-test8/linux/kernel/sys.c linux/kernel/sys.c
@@ -123,18 +123,15 @@
int ret=NOTIFY_DONE;
struct notifier_block *nb = *n;
- read_lock(¬ifier_lock);
while(nb)
{
ret=nb->notifier_call(nb,val,v);
if(ret&NOTIFY_STOP_MASK)
{
- read_unlock(¬ifier_lock);
return ret;
}
nb=nb->next;
}
- read_unlock(¬ifier_lock);
return ret;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)