Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145872
b: refs/heads/master
c: c8b15a7
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed May 20, 2009
1 parent d11a313 commit 4a74424
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 521c180874dae86f675d23c4eade4dba8b1f2cc8
refs/heads/master: c8b15a706d921baed3195407e4f55270112bb3c6
7 changes: 3 additions & 4 deletions trunk/kernel/futex.c
Original file line number Diff line number Diff line change
Expand Up @@ -2185,10 +2185,8 @@ static int futex_wait_requeue_pi(u32 __user *uaddr, int fshared,

/* Prepare to wait on uaddr. */
ret = futex_wait_setup(uaddr, val, fshared, &q, &hb);
if (ret) {
put_futex_key(fshared, &key2);
goto out;
}
if (ret)
goto out_key2;

/* Queue the futex_q, drop the hb lock, wait for wakeup. */
futex_wait_queue_me(hb, &q, to);
Expand Down Expand Up @@ -2282,6 +2280,7 @@ static int futex_wait_requeue_pi(u32 __user *uaddr, int fshared,

out_put_keys:
put_futex_key(fshared, &q.key);
out_key2:
put_futex_key(fshared, &key2);

out:
Expand Down

0 comments on commit 4a74424

Please sign in to comment.