summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/debug.c
diff options
context:
space:
mode:
authorArtem Bityutskiy2012-01-18 15:06:17 +0100
committerArtem Bityutskiy2012-02-29 15:10:20 +0100
commitb06283c7df35b5a49ab141ed38e0280821379096 (patch)
tree9b99a46776ca420887bf73ecbc9bb3041e5f66b6 /fs/ubifs/debug.c
parentUBIFS: increase dumps loglevel (diff)
downloadkernel-qcow2-linux-b06283c7df35b5a49ab141ed38e0280821379096.tar.gz
kernel-qcow2-linux-b06283c7df35b5a49ab141ed38e0280821379096.tar.xz
kernel-qcow2-linux-b06283c7df35b5a49ab141ed38e0280821379096.zip
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>
Diffstat (limited to 'fs/ubifs/debug.c')
-rw-r--r--fs/ubifs/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c
index 305062886f17..1934084e2088 100644
--- a/fs/ubifs/debug.c
+++ b/fs/ubifs/debug.c
@@ -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)
{