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_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index c166f32..ea4c627 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c
@@ -111,7 +111,7 @@ 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; }