patch-2.3.7 linux/kernel/acct.c
Next file: linux/kernel/ksyms.c
Previous file: linux/ipc/shm.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Jun 18 08:01:50 1999
- Orig file:
v2.3.6/linux/kernel/acct.c
- Orig date:
Tue Mar 23 16:57:38 1999
diff -u --recursive --new-file v2.3.6/linux/kernel/acct.c linux/kernel/acct.c
@@ -333,10 +333,8 @@
fs = get_fs();
set_fs(KERNEL_DS);
inode = file->f_dentry->d_inode;
- down(&inode->i_sem);
file->f_op->write(file, (char *)&ac,
sizeof(struct acct), &file->f_pos);
- up(&inode->i_sem);
set_fs(fs);
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)