Peter Zijlstra 09dc3cf93f 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>
2011-12-09 07:50:28 -08:00
..
2011-07-26 16:49:45 -07:00
2011-12-06 11:38:32 +01:00
2010-08-09 16:48:42 -04:00
2011-03-14 09:15:23 -04:00
2010-10-30 01:42:19 -04:00
2011-09-23 12:05:29 +05:30
2011-07-14 12:59:14 +03:00
2011-10-31 17:30:45 -07:00
2011-12-09 07:50:28 -08:00
2011-03-31 11:26:23 -03:00
2011-04-24 13:18:38 +02:00
2011-10-31 17:30:44 -07:00
2011-08-12 16:21:35 -05:00
2011-09-19 17:04:37 -07:00