diff options
author | Mike Frysinger | 2005-06-11 00:11:37 +0000 |
---|---|---|
committer | Mike Frysinger | 2005-06-11 00:11:37 +0000 |
commit | 0301ffab3d9e6e43bdc3dc29cff4eb36097967c9 (patch) | |
tree | 91ab13ac24ac63fb4890354b5fcbb226d49624fb /e2fsprogs/ext2fs/closefs.c | |
parent | 1f96c979844ae6ecdd5ce009f961de9205890910 (diff) | |
download | busybox-0301ffab3d9e6e43bdc3dc29cff4eb36097967c9.zip busybox-0301ffab3d9e6e43bdc3dc29cff4eb36097967c9.tar.gz |
only define some variables if legacy EXT2FS_ENABLE_SWAPFS is enabled
Diffstat (limited to 'e2fsprogs/ext2fs/closefs.c')
-rw-r--r-- | e2fsprogs/ext2fs/closefs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/e2fsprogs/ext2fs/closefs.c b/e2fsprogs/ext2fs/closefs.c index 8539a1c..23e6332 100644 --- a/e2fsprogs/ext2fs/closefs.c +++ b/e2fsprogs/ext2fs/closefs.c @@ -205,15 +205,18 @@ static errcode_t write_backup_super(ext2_filsys fs, dgrp_t group, errcode_t ext2fs_flush(ext2_filsys fs) { - dgrp_t i,j; + dgrp_t i; blk_t group_block; errcode_t retval; unsigned long fs_state; struct ext2_super_block *super_shadow = 0; struct ext2_group_desc *group_shadow = 0; - struct ext2_group_desc *s, *t; char *group_ptr; int old_desc_blocks; +#ifdef EXT2FS_ENABLE_SWAPFS + dgrp_t j; + struct ext2_group_desc *s, *t; +#endif EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); |