]> git.baikalelectronics.ru Git - kernel.git/commit
UBIFS: make debugging messages light again
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 11 Jan 2012 13:13:27 +0000 (15:13 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 11 Jan 2012 16:44:53 +0000 (18:44 +0200)
commit75afe194ae6b2639be7b422abce71782a4227a97
treef6eeebf68d44bacf5aabc1d1c04b517deb3be495
parent88bd3a48ed43271205dd38ea3164c2a57714dbf4
UBIFS: make debugging messages light again

We switch to dynamic debugging in commit
efa9b50ea39d557b03d34ccd13fe71f2dfe96823 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>
Cc: stable@kernel.org [3.0+]
fs/ubifs/debug.h