Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55cc38fe authored by Zhikang Zhang's avatar Zhikang Zhang Committed by Jaegeuk Kim
Browse files

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: default avatarZhikang Zhang <zhangzhikang1@huawei.com>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 6d4ae78c
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -142,6 +142,9 @@ TRACE_DEFINE_ENUM(CP_TRIMMED);
		{ CP_SPEC_LOG_NUM,	"log type is 2" },		\
		{ CP_SPEC_LOG_NUM,	"log type is 2" },		\
		{ CP_RECOVER_DIR,	"dir needs recovery" })
		{ CP_RECOVER_DIR,	"dir needs recovery" })


struct f2fs_sb_info;
struct f2fs_io_info;
struct extent_info;
struct victim_sel_policy;
struct victim_sel_policy;
struct f2fs_map_blocks;
struct f2fs_map_blocks;