lkml.org 
[lkml]   [2006]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] FUTEX: one more return .
Signed-Off-By: Daniel Walker <dwalker@mvista.com>


Continue the theme of returns .

Index: linux-2.6.15/kernel/futex.c
===================================================================
--- linux-2.6.15.orig/kernel/futex.c
+++ linux-2.6.15/kernel/futex.c
@@ -973,8 +973,10 @@ void exit_robust_list(struct task_struct
*/
if (get_user(pending, &head->list_op_pending))
return;
- if (pending)
- handle_futex_death((void *)pending + futex_offset, curr);
+ if (pending) {
+ if (handle_futex_death((void *)pending + futex_offset, curr))
+ return;
+ }

while (entry != &head->list) {
/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-02-16 18:45    [W:0.025 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site