summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-01-09 03:38:38 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-01-09 17:02:29 -0800
commit08e4126e1e91b01bea5c71980e7008ec5075d701 (patch)
treea8904989179f0222951437b3a14fc6f2197d8d95 /fs/f2fs
parent351f4fba843db3303a92897b21a3d4dff4b6c717 (diff)
downloadlinux-08e4126e1e91b01bea5c71980e7008ec5075d701.tar.bz2
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')
-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)