summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/trace.c
diff options
context:
space:
mode:
authorkbuild test robot2015-01-08 20:38:38 +0100
committerJaegeuk Kim2015-01-10 02:02:29 +0100
commit08e4126e1e91b01bea5c71980e7008ec5075d701 (patch)
treea8904989179f0222951437b3a14fc6f2197d8d95 /fs/f2fs/trace.c
parentf2fs: add f2fs_destroy_trace_ios to free radix tree (diff)
downloadkernel-qcow2-linux-08e4126e1e91b01bea5c71980e7008ec5075d701.tar.gz
kernel-qcow2-linux-08e4126e1e91b01bea5c71980e7008ec5075d701.tar.xz
kernel-qcow2-linux-08e4126e1e91b01bea5c71980e7008ec5075d701.zip
f2fs: pids_lock can be static
fs/f2fs/trace.c:19:12: sparse: symbol 'pids_lock' was not declared. Should it be static? Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/trace.c')
-rw-r--r--fs/f2fs/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/trace.c b/fs/f2fs/trace.c
index b3570dcca945..ce01a2c903bd 100644
--- a/fs/f2fs/trace.c
+++ b/fs/f2fs/trace.c
@@ -17,7 +17,7 @@
#include "trace.h"
RADIX_TREE(pids, GFP_ATOMIC);
-spinlock_t pids_lock;
+static spinlock_t pids_lock;
struct last_io_info last_io;
static inline void __print_last_io(void)