patch-2.2.4 linux/kernel/acct.c
Next file: linux/kernel/exit.c
Previous file: linux/include/scsi/scsi.h
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
Mon Mar 22 10:08:50 1999
-  Orig file: 
v2.2.3/linux/kernel/acct.c
-  Orig date: 
Thu Dec 31 10:29:03 1998
diff -u --recursive --new-file v2.2.3/linux/kernel/acct.c linux/kernel/acct.c
@@ -194,13 +194,13 @@
 	}
 	if (old_acct) {
 		do_acct_process(0,old_acct);
-		fput(old_acct);
+		filp_close(old_acct);
 	}
 out:
 	unlock_kernel();
 	return error;
 out_err:
-	fput(file);
+	filp_close(file);
 	goto out;
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)