Fix stupid typo in previous changeset.

bitmap-optimize
Theodore Ts'o 2002-08-16 17:07:06 -04:00
parent ed909bbe20
commit 0ccd488a76
2 changed files with 5 additions and 4 deletions

View File

@ -110,7 +110,8 @@ void do_icheck(int argc, char **argv)
goto next;
if (inode.i_file_acl) {
icheck_proc(fs, &inode.i_file_acl, 0, 0, 0, &bw);
icheck_proc(current_fs, &inode.i_file_acl, 0,
0, 0, &bw);
if (bw.blocks_left == 0)
break;
}

View File

@ -941,7 +941,7 @@ static errcode_t inode_scan_and_fix(ext2_resize_t rfs)
int group;
char *block_buf = 0;
ext2_ino_t start_to_move;
blk_t orig_size;
blk_t orig_size, new_block;
if ((rfs->old_fs->group_desc_count <=
rfs->new_fs->group_desc_count) &&
@ -998,8 +998,8 @@ static errcode_t inode_scan_and_fix(ext2_resize_t rfs)
pb.is_dir = LINUX_S_ISDIR(inode.i_mode);
pb.changed = 0;
if (inode.i_file.acl && rfs->bmap) {
new_block = ext2fs_extent_translate(pb->rfs->bmap,
if (inode.i_file_acl && rfs->bmap) {
new_block = ext2fs_extent_translate(rfs->bmap,
inode.i_file_acl);
if (new_block) {
inode.i_file_acl = new_block;