patch-2.3.7 linux/fs/binfmt_aout.c
Next file: linux/fs/binfmt_elf.c
Previous file: linux/fs/bad_inode.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Fri Jun 18 08:00:52 1999
- Orig file:
v2.3.6/linux/fs/binfmt_aout.c
- Orig date:
Tue Jun 8 23:01:35 1999
diff -u --recursive --new-file v2.3.6/linux/fs/binfmt_aout.c linux/fs/binfmt_aout.c
@@ -59,11 +59,7 @@
static int dump_write(struct file *file, const void *addr, int nr)
{
- int r;
- down(&file->f_dentry->d_inode->i_sem);
- r = file->f_op->write(file, addr, nr, &file->f_pos) == nr;
- up(&file->f_dentry->d_inode->i_sem);
- return r;
+ return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
}
#define DUMP_WRITE(addr, nr) \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)