diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2017-10-03 19:16:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-10-03 20:54:25 -0400 |
commit | c9653850c90d6050197bc76ba672e00a7771aea5 (patch) | |
tree | cec66459e8529f07e7d94698352adfb31cafd560 | |
parent | 1fdcce6e16c54facc4f0688630d3b9ecfcaa411f (diff) |
kernel/kcmp.c: drop branch leftover typo
The else branch been left over and escaped the source code refresh. Not
a problem but better clean it up.
Fixes: 0791e3644e5e ("kcmp: add KCMP_EPOLL_TFD mode to compare epoll target files")
Link: http://lkml.kernel.org/r/20170917165838.GA1887@uranus.lan
Reported-by: Eugene Syromiatnikov <esyr@redhat.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
Cc: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | kernel/kcmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kcmp.c b/kernel/kcmp.c index ea34ed8bb952..055bb2962a0b 100644 --- a/kernel/kcmp.c +++ b/kernel/kcmp.c | |||
@@ -131,7 +131,7 @@ static int kcmp_epoll_target(struct task_struct *task1, | |||
131 | if (filp_epoll) { | 131 | if (filp_epoll) { |
132 | filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff); | 132 | filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff); |
133 | fput(filp_epoll); | 133 | fput(filp_epoll); |
134 | } else | 134 | } |
135 | 135 | ||
136 | if (IS_ERR(filp_tgt)) | 136 | if (IS_ERR(filp_tgt)) |
137 | return PTR_ERR(filp_tgt); | 137 | return PTR_ERR(filp_tgt); |