[Devel] [PATCH RHEL7 COMMIT] ms/kernel/kcmp.c: drop branch leftover typo

Konstantin Khorenko khorenko at virtuozzo.com
Wed Oct 11 17:05:51 MSK 2017


The commit is pushed to "branch-rh7-3.10.0-693.1.1.vz7.37.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-693.1.1.vz7.37.11
------>
commit 885614084b57b8e6c51789c5280fffbf14287443
Author: Cyrill Gorcunov <gorcunov at gmail.com>
Date:   Tue Oct 3 16:16:26 2017 -0700

    ms/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 at redhat.com>
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
    Acked-by: Andrei Vagin <avagin at virtuozzo.com>
    Cc: Pavel Emelyanov <xemul at virtuozzo.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
    
    (cherry picked from commit c9653850c90d6050197bc76ba672e00a7771aea5)
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 kernel/kcmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/kcmp.c b/kernel/kcmp.c
index b8ecf9d..8319472 100644
--- a/kernel/kcmp.c
+++ b/kernel/kcmp.c
@@ -131,7 +131,7 @@ static int kcmp_epoll_target(struct task_struct *task1,
 	if (filp_epoll) {
 		filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff);
 		fput(filp_epoll);
-	} else
+	}
 
 	if (IS_ERR(filp_tgt))
 		return PTR_ERR(filp_tgt);


More information about the Devel mailing list