patch-2.3.7 linux/fs/binfmt_elf.c
Next file: linux/fs/block_dev.c
Previous file: linux/fs/binfmt_aout.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Fri Jun 18 08:01:10 1999
- Orig file:
v2.3.6/linux/fs/binfmt_elf.c
- Orig date:
Thu Jun 3 23:15:29 1999
diff -u --recursive --new-file v2.3.6/linux/fs/binfmt_elf.c linux/fs/binfmt_elf.c
@@ -918,11 +918,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;
}
static int dump_seek(struct file *file, off_t off)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)