diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-06-22 23:05:57 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-06-22 23:05:57 +0000 |
commit | 51d3b7814cdccef9188240fe0cbd8d97ff2c7470 (patch) | |
tree | 5cbb01d0323d4f63ade66bdf48ba4a91aaa6df16 /fs/binfmt_aout.c | |
parent | 52273a23c9a84336b93a35e4847fc88fac7eb0e4 (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 'fs/binfmt_aout.c')
-rw-r--r-- | fs/binfmt_aout.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c index ae22c4900..2b886a147 100644 --- a/fs/binfmt_aout.c +++ b/fs/binfmt_aout.c @@ -59,11 +59,7 @@ static void set_brk(unsigned long start, unsigned long end) 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) \ |