patch-2.3.9 linux/kernel/acct.c
Next file: linux/kernel/fork.c
Previous file: linux/ipc/shm.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jun 29 09:22:08 1999
- Orig file:
v2.3.8/linux/kernel/acct.c
- Orig date:
Fri Jun 18 08:01:50 1999
diff -u --recursive --new-file v2.3.8/linux/kernel/acct.c linux/kernel/acct.c
@@ -276,7 +276,7 @@
*/
if (!file)
return 0;
- file->f_count++;
+ atomic_inc(&file->f_count);
if (!check_free_space(file)) {
fput(file);
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)