mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] FUTEX: one more return .
@ 2006-02-16 17:42 Daniel Walker
  2006-02-16 18:11 ` Ulrich Drepper
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Walker @ 2006-02-16 17:42 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

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) {
 		/*

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-16 19:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-16 17:42 [PATCH] FUTEX: one more return Daniel Walker
2006-02-16 18:11 ` Ulrich Drepper
2006-02-16 19:15   ` Daniel Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®