summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorZhikang Zhang <zhangzhikang1@huawei.com>2019-01-03 13:06:38 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2019-01-08 18:34:27 +0100
commit539cd352239f6acae4a7997bf31edca5c9a69c81 (patch)
treeac6ba0024233a6b0733532297dcb6f05a15b68a6 /include/trace
parentf2fs: change error code to -ENOMEM from -EINVAL (diff)
downloadlinux-539cd352239f6acae4a7997bf31edca5c9a69c81.tar.xz
linux-539cd352239f6acae4a7997bf31edca5c9a69c81.zip
f2fs: fix compile warnings: 'struct *' declared inside parameter list
We meet these compile warnings below, which caused by missing declare structs: struct f2fs_io_info, struct extent, struct f2fs_sb_info. warning: 'struct f2fs_io_info' declared inside parameter list warning: 'struct extent_info' declared inside parameter list warning: 'struct f2fs_sb_info' declared inside parameter list Signed-off-by: Zhikang Zhang <zhangzhikang1@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/f2fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/trace/events/f2fs.h b/include/trace/events/f2fs.h
index 3ec73f17ee2a..8a28a2b1be74 100644
--- a/include/trace/events/f2fs.h
+++ b/include/trace/events/f2fs.h
@@ -149,6 +149,9 @@ TRACE_DEFINE_ENUM(CP_TRIMMED);
{ CP_SPEC_LOG_NUM, "log type is 2" }, \
{ CP_RECOVER_DIR, "dir needs recovery" })
+struct f2fs_sb_info;
+struct f2fs_io_info;
+struct extent_info;
struct victim_sel_policy;
struct f2fs_map_blocks;