patch-2.3.48 linux/fs/binfmt_em86.c
Next file: linux/fs/block_dev.c
Previous file: linux/fs/binfmt_elf.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sat Feb 26 20:33:04 2000
- Orig file:
v2.3.47/linux/fs/binfmt_em86.c
- Orig date:
Mon Nov 1 13:56:27 1999
diff -u --recursive --new-file v2.3.47/linux/fs/binfmt_em86.c linux/fs/binfmt_em86.c
@@ -36,9 +36,8 @@
/* First of all, some simple consistency checks */
if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) ||
(!((elf_ex.e_machine == EM_386) || (elf_ex.e_machine == EM_486))) ||
- (!bprm->dentry->d_inode->i_op ||
- !bprm->dentry->d_inode->i_op->default_file_ops ||
- !bprm->dentry->d_inode->i_op->default_file_ops->mmap)) {
+ (!bprm->dentry->d_inode->i_fop ||
+ !bprm->dentry->d_inode->i_fop->mmap)) {
return -ENOEXEC;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)