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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user