summaryrefslogtreecommitdiffstats
path: root/kernel/acct.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-06-22 23:05:57 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-06-22 23:05:57 +0000
commit51d3b7814cdccef9188240fe0cbd8d97ff2c7470 (patch)
tree5cbb01d0323d4f63ade66bdf48ba4a91aaa6df16 /kernel/acct.c
parent52273a23c9a84336b93a35e4847fc88fac7eb0e4 (diff)
Merge with Linux 2.3.7.
WARNING: 2.3.7 is known to eat filesystems for breakfast and little children for lunch, so if you try this on your machine make backups first ...
Diffstat (limited to 'kernel/acct.c')
-rw-r--r--kernel/acct.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/acct.c b/kernel/acct.c
index a8a94f734..c0f447eae 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -333,10 +333,8 @@ static int do_acct_process(long exitcode, struct file *file)
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;