file->f_op is never NULL...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2013-09-22 16:27:52 -04:00
bovenliggende 22bd002ee7
commit 72c2d53192
29 gewijzigde bestanden met toevoegingen van 74 en 97 verwijderingen

Bestand weergeven

@@ -111,7 +111,7 @@ static int is_elf_fdpic(struct elfhdr *hdr, struct file *file)
return 0;
if (!elf_check_arch(hdr) || !elf_check_fdpic(hdr))
return 0;
if (!file->f_op || !file->f_op->mmap)
if (!file->f_op->mmap)
return 0;
return 1;
}