diff options
author | Peter Zijlstra <peterz@infradead.org> | 2011-12-08 23:34:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-09 16:50:28 +0100 |
commit | 09dc3cf93f7d16fdd37a0ad8486faebb5e2769ec (patch) | |
tree | 4db1b0103db218d0d0aa26a26232c3674dd18622 /kernel/cpuset.c | |
parent | memcg: update maintainers (diff) | |
download | linux-09dc3cf93f7d16fdd37a0ad8486faebb5e2769ec.tar.xz linux-09dc3cf93f7d16fdd37a0ad8486faebb5e2769ec.zip |
printk: avoid double lock acquire
Commit 4f2a8d3cf5e ("printk: Fix console_sem vs logbuf_lock unlock race")
introduced another silly bug where we would want to acquire an already
held lock. Avoid this.
Reported-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions