From b112b516046b437db977026f281283d462c2347b Mon Sep 17 00:00:00 2001 From: Sheng Yong Date: Tue, 10 Apr 2018 11:28:20 +0800 Subject: [PATCH] f2fs-tools: remove duplicated declaration of f2fs_configuration c The variable `c' is declared twice in f2fs_fs.h. This patch removes the second declaration. Signed-off-by: Sheng Yong Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- include/f2fs_fs.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h index 543f4ba..a59d595 100644 --- a/include/f2fs_fs.h +++ b/include/f2fs_fs.h @@ -1233,8 +1233,6 @@ extern int f2fs_get_zone_blocks(int); extern int f2fs_check_zones(int); extern int f2fs_reset_zones(int); -extern struct f2fs_configuration c; - #define SIZE_ALIGN(val, size) ((val) + (size) - 1) / (size) #define SEG_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg) #define ZONE_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg * \ -- 2.7.4