UBIFS: make debugging messages light again
commit20ef6312522d42407e8030bb17f25c4fde724a37
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 11 Jan 2012 13:13:27 +0000 (11 15:13 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 01:25:06 +0000 (25 17:25 -0800)
tree9c77a97eec1bd5080e39f2d9acd82a75d3211abf
parente4ae34bbc7386489a0c8253f246e7a5d316f249a
UBIFS: make debugging messages light again

commit 1f5d78dc4823a85f112aaa2d0f17624f8c2a6c52 upstream.

We switch to dynamic debugging in commit
56e46742e846e4de167dde0e1e1071ace1c882a5 but did not take into account that
now we do not control anymore whether a specific message is enabled or not.
So now we lock the "dbg_lock" and release it in every debugging macro, which
make them not so light-weight.

This commit removes the "dbg_lock" protection from the debugging macros to
fix the issue.

The downside is that now our DBGKEY() stuff is broken, but this is not
critical at all and will be fixed later.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ubifs/debug.h