UBIFS: make the dbg_lock spinlock static

Remove the usage of the 'dbg_lock' spinlock from 'dbg_err()' and make
it static.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:
Artem Bityutskiy
2012-01-18 16:06:17 +02:00
parent 16c395ca72
commit b06283c7df
2 changed files with 1 additions and 4 deletions

View File

@@ -36,7 +36,7 @@
#ifdef CONFIG_UBIFS_FS_DEBUG
DEFINE_SPINLOCK(dbg_lock);
static DEFINE_SPINLOCK(dbg_lock);
static const char *get_key_fmt(int fmt)
{