mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
synced 2024-11-23 17:53:39 +08:00
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 <shengyong1@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
8feed81aa9
commit
b112b51604
@ -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 * \
|
||||
|
Loading…
Reference in New Issue
Block a user