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)
Before commit 56e46742e846e4de167dde0e1e1071ace1c882a5 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

Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/ubifs/tnc.c
Simple merge
Simple merge