commit | 72c2d53192004845cbc19cd8a30b3212a9288140 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Sep 22 16:27:52 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Oct 24 23:34:54 2013 -0400 |
tree | 31fcd924438f03d5aa09d13ffd813fb153da37c3 | |
parent | 22bd002ee76aa7d7a3393f39d977f6c106153c60 [diff] [blame] |
file->f_op is never NULL... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/binfmt_em86.c b/fs/binfmt_em86.c index 037a3e2..f37b08c 100644 --- a/fs/binfmt_em86.c +++ b/fs/binfmt_em86.c
@@ -38,7 +38,7 @@ /* 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->file->f_op || !bprm->file->f_op->mmap)) { + !bprm->file->f_op->mmap) { return -ENOEXEC; }