patch-2.3.10 linux/kernel/acct.c
Next file: linux/kernel/exit.c
Previous file: linux/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Jul 3 10:43:52 1999
- Orig file:
v2.3.9/linux/kernel/acct.c
- Orig date:
Wed Jun 30 13:38:20 1999
diff -u --recursive --new-file v2.3.9/linux/kernel/acct.c linux/kernel/acct.c
@@ -276,7 +276,7 @@
*/
if (!file)
return 0;
- atomic_inc(&file->f_count);
+ get_file(file);
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)