UBIFS: fix key printing
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 13 Jan 2012 10:33:53 +0000 (12:33 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 21 Jun 2012 11:46:12 +0000 (14:46 +0300)
commit37f6dde8cb7f47fac5c0383feb9c2080349b7872
treebb72d0df21c48173155dc8074aec22066e67ed6d
parentca431d987c7368fb285b61105f89bad0810d550f
UBIFS: fix key printing

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