patch-2.1.116 linux/fs/binfmt_aout.c
Next file: linux/fs/binfmt_elf.c
Previous file: linux/fs/autofs/root.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sat Aug 15 16:34:52 1998
-  Orig file: 
v2.1.115/linux/fs/binfmt_aout.c
-  Orig date: 
Tue Jun 23 10:01:24 1998
diff -u --recursive --new-file v2.1.115/linux/fs/binfmt_aout.c linux/fs/binfmt_aout.c
@@ -101,7 +101,7 @@
 #       define START_STACK(u)   (u.start_stack)
 #endif
 
-	if (!current->dumpable || current->mm->count != 1)
+	if (!current->dumpable || atomic_read(¤t->mm->count) != 1)
 		return 0;
 	current->dumpable = 0;
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov