From c05086506f2204bcf02c9d3eb7950cdf0d8a3bef Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Wed, 7 Jan 2015 14:07:36 -0800 Subject: f2fs: add spin_lock to cover radix operations in IO tracer This patch adds spin_lock to cover radix tree operations in IO tracer. Signed-off-by: Jaegeuk Kim --- fs/f2fs/trace.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fs/f2fs/trace.h') diff --git a/fs/f2fs/trace.h b/fs/f2fs/trace.h index aa6663be528c..eb39fa08cd45 100644 --- a/fs/f2fs/trace.h +++ b/fs/f2fs/trace.h @@ -34,9 +34,11 @@ struct last_io_info { extern void f2fs_trace_pid(struct page *); extern void f2fs_trace_ios(struct page *, struct f2fs_io_info *, int); +extern void f2fs_build_trace_ios(void); #else #define f2fs_trace_pid(p) #define f2fs_trace_ios(p, i, n) +#define f2fs_build_trace_ios() #endif #endif /* __F2FS_TRACE_H__ */ -- cgit v1.2.3