patch-2.4.2 linux/fs/exec.c
Next file: linux/fs/ext2/namei.c
Previous file: linux/fs/dquot.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Feb 9 19:03:39 2001
- Orig file:
v2.4.1/linux/fs/exec.c
- Orig date:
Sat Feb 3 19:51:30 2001
diff -u --recursive --new-file v2.4.1/linux/fs/exec.c linux/fs/exec.c
@@ -395,7 +395,7 @@
mm = mm_alloc();
if (mm) {
- struct mm_struct *active_mm = current->active_mm;
+ struct mm_struct *active_mm;
if (init_new_context(current, mm)) {
mmdrop(mm);
@@ -409,6 +409,7 @@
spin_unlock(&mmlist_lock);
task_lock(current);
+ active_mm = current->active_mm;
current->mm = mm;
current->active_mm = mm;
task_unlock(current);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)