f2fs-tools: remove duplicated declaration of f2fs_configuration c
authorSheng Yong <shengyong1@huawei.com>
Tue, 10 Apr 2018 03:28:20 +0000 (11:28 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 14 Jul 2018 05:46:00 +0000 (22:46 -0700)
The variable `c' is declared twice in f2fs_fs.h. This patch removes
the second declaration.

Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
include/f2fs_fs.h

index 543f4ba..a59d595 100644 (file)
@@ -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 * \