From: Peter Zijlstra Date: Thu, 8 Dec 2011 22:34:13 +0000 (-0800) Subject: printk: avoid double lock acquire X-Git-Tag: v3.2-rc5~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09dc3cf93f7d16fdd37a0ad8486faebb5e2769ec;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed