commit | b06283c7df35b5a49ab141ed38e0280821379096 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Wed Jan 18 16:06:17 2012 +0200 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Wed Feb 29 16:10:20 2012 +0200 |
tree | 9b99a46776ca420887bf73ecbc9bb3041e5f66b6 | |
parent | 16c395ca72a79115653892c0724d4928f72520fe [diff] [blame] |
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>
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c index 3050628..1934084 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) {