]> 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)
commit76613c5b2ff649053952b1b6505a9e35a8c97097
treef6eeebf68d44bacf5aabc1d1c04b517deb3be495
parent224d85bb368cbbce7dd7f864603648b4d01edb48
UBIFS: make debugging messages light again

We switch to dynamic debugging in commit
dee87f8fc5116ea85d735696c88b0002dea87c53 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