f2fs: pids_lock can be static
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 8 Jan 2015 19:38:38 +0000 (03:38 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 10 Jan 2015 01:02:29 +0000 (17:02 -0800)
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>
fs/f2fs/trace.c

index b3570dcca945fa29d293b7e871d3a80a73b3cca9..ce01a2c903bd734c8bd56f870eeb9b20676675be 100644 (file)
@@ -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)