summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/trace.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-04-23 23:38:15 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2015-05-29 00:41:32 +0200
commit05ca3632e5a73b493b27ec3e2a337885563abff0 (patch)
treecfec80454ff027e6fa58ab688b7f7b9c3ba385b6 /fs/f2fs/trace.h
parentf2fs: add f2fs_may_inline_{data, dentry} (diff)
downloadlinux-05ca3632e5a73b493b27ec3e2a337885563abff0.tar.xz
linux-05ca3632e5a73b493b27ec3e2a337885563abff0.zip
f2fs: add sbi and page pointer in f2fs_io_info
This patch adds f2fs_sb_info and page pointers in f2fs_io_info structure. With this change, we can reduce a lot of parameters for IO functions. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/trace.h')
-rw-r--r--fs/f2fs/trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/trace.h b/fs/f2fs/trace.h
index 1041dbeb52ae..67db24ac1e85 100644
--- a/fs/f2fs/trace.h
+++ b/fs/f2fs/trace.h
@@ -33,12 +33,12 @@ 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_trace_ios(struct f2fs_io_info *, int);
extern void f2fs_build_trace_ios(void);
extern void f2fs_destroy_trace_ios(void);
#else
#define f2fs_trace_pid(p)
-#define f2fs_trace_ios(p, i, n)
+#define f2fs_trace_ios(i, n)
#define f2fs_build_trace_ios()
#define f2fs_destroy_trace_ios()