]> git.baikalelectronics.ru Git - kernel.git/commit
UBIFS: fix key printing
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 13 Jan 2012 10:33:53 +0000 (12:33 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 13 Jan 2012 10:50:42 +0000 (12:50 +0200)
commitdc124684c57caabefeb1931d51356ae8f57068e9
tree1a215c3df46286d7ff878cd86517818404758900
parent467fcc4e7fba90462139057a9f0909c74a7e77bb
UBIFS: fix key printing

Before commit dee87f8fc5116ea85d735696c88b0002dea87c53 we have had locking
around all printing macros and we could use static buffers for creating
key strings and printing them. However, now we do not have that locking and
we cannot use static buffers. This commit removes the old DBGKEY() macros
and introduces few new helper macros for printing debugging messages plus
a key at the end. Thankfully, all the messages are already structures in
a way that the key is printed in the end.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/debug.c
fs/ubifs/debug.h
fs/ubifs/journal.c
fs/ubifs/replay.c
fs/ubifs/tnc.c
fs/ubifs/tnc_misc.c