[PATCH] FUTEX: one more return .
From: Daniel Walker
Date: Thu Feb 16 2006 - 12:40:59 EST
Signed-Off-By: Daniel Walker <dwalker@xxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/