UBIFS: make debugging messages light again
commit172b291a15f4b6fceaba0dd68df118d7f7144198
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 00:13:26 +0000 (25 16:13 -0800)
treea47e833f194837b2b016c6169e0c2e4ebdb846aa
parent6aeb366d6a7e5cc3c2ab1666751c493c9c3e87e5
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